serialization.services.yml

drupal/core/modules/serialization/serialization.services.yml

File

drupal/core/modules/serialization/serialization.services.yml
View source
  1. services:
  2. serializer:
  3. class: Symfony\Component\Serializer\Serializer
  4. arguments: [{ }, { }]
  5. serializer.normalizer.complex_data:
  6. class: Drupal\serialization\Normalizer\ComplexDataNormalizer
  7. tags:
  8. - { name: normalizer }
  9. serializer.normalizer.list:
  10. class: Drupal\serialization\Normalizer\ListNormalizer
  11. tags:
  12. - { name: normalizer }
  13. serializer.normalizer.typed_data:
  14. class: Drupal\serialization\Normalizer\TypedDataNormalizer
  15. tags:
  16. - { name: normalizer }
  17. serializer.encoder.json:
  18. class: Drupal\serialization\Encoder\JsonEncoder
  19. tags:
  20. - { name: encoder, format: json }
  21. serializer.encoder.xml:
  22. class: Drupal\serialization\Encoder\XmlEncoder
  23. tags:
  24. - { name: encoder, format: xml }
  25. serializer.entity_resolver:
  26. class: Drupal\serialization\EntityResolver\ChainEntityResolver
  27. arguments: [{ }]
  28. serializer.entity_resolver.uuid:
  29. class: Drupal\serialization\EntityResolver\UuidResolver
  30. tags:
  31. - { name: entity_resolver}

Services