You are here

protected property Serializer::$fallbackNormalizer in JSON:API 8

Same name and namespace in other branches
  1. 8.2 src/Serializer/Serializer.php \Drupal\jsonapi\Serializer\Serializer::fallbackNormalizer

A normalizer to fall back on when JSON API cannot normalize an object.

Type: \Symfony\Component\Serializer\Normalizer\NormalizerInterface|\Symfony\Component\Serializer\Normalizer\DenormalizerInterface

File

src/Serializer/Serializer.php, line 26

Class

Serializer
Overrides the Symfony serializer to cordon off our incompatible normalizers.

Namespace

Drupal\jsonapi\Serializer

Code

protected $fallbackNormalizer;