You are here

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

Same name and namespace in other branches
  1. 8.2 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 20

Class

JsonEncoder
Encodes JSON API data.

Namespace

Drupal\jsonapi\Encoder

Code

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