namespace Drupal\serialization\Encoder

Same name in other branches
  1. 8.9.x Drupal\serialization\Encoder
  2. 10 Drupal\serialization\Encoder
  3. 11.x Drupal\serialization\Encoder
Object name File name Summary
JsonEncoder core/modules/serialization/src/Encoder/JsonEncoder.php Adds 'ajax' to the supported content types of the JSON encoder.
XmlEncoder core/modules/serialization/src/Encoder/XmlEncoder.php Adds XML support for serializer.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.