You are here

protected static property JsonEncoder::$format in JSON:API 8.2

Same name and namespace in other branches
  1. 8 src/Encoder/JsonEncoder.php \Drupal\jsonapi\Encoder\JsonEncoder::format

The formats that this Encoder supports.

Type: string

Overrides JsonEncoder::$format

File

src/Encoder/JsonEncoder.php, line 23

Class

JsonEncoder
Encodes JSON:API data.

Namespace

Drupal\jsonapi\Encoder

Code

protected static $format = [
  'api_json',
];