You are here

public function FieldNormalizer::denormalize in JSON:API 8

Same name and namespace in other branches
  1. 8.2 src/Normalizer/FieldNormalizer.php \Drupal\jsonapi\Normalizer\FieldNormalizer::denormalize()
1 method overrides FieldNormalizer::denormalize()
EntityReferenceFieldNormalizer::denormalize in src/Normalizer/EntityReferenceFieldNormalizer.php
Denormalizes data back into an object of the given class.

File

src/Normalizer/FieldNormalizer.php, line 75

Class

FieldNormalizer
Converts the Drupal field structure to a JSON API array structure.

Namespace

Drupal\jsonapi\Normalizer

Code

public function denormalize($data, $class, $format = NULL, array $context = []) {
  throw new UnexpectedValueException('Denormalization not implemented for JSON API');
}