namespace Drupal\Component\Serialization

Same name in other branches
  1. 11.x Drupal\Component\Serialization
  2. 9 Drupal\Component\Serialization
  3. 8.9.x Drupal\Component\Serialization
Object name File name Summary
Json core/lib/Drupal/Component/Serialization/Json.php Default serialization for JSON.
ObjectAwareSerializationInterface core/lib/Drupal/Component/Serialization/ObjectAwareSerializationInterface.php Ensures that a serializer is usable for serializing PHP objects.
PhpSerialize core/lib/Drupal/Component/Serialization/PhpSerialize.php Default serialization for serialized PHP.
SerializationInterface core/lib/Drupal/Component/Serialization/SerializationInterface.php Defines an interface for serialization formats.
Yaml core/lib/Drupal/Component/Serialization/Yaml.php Provides a YAML serialization implementation using symfony/yaml.
YamlPecl core/lib/Drupal/Component/Serialization/YamlPecl.php Provides default serialization for YAML using the PECL extension.
YamlSymfony core/lib/Drupal/Component/Serialization/YamlSymfony.php Default serialization for YAML using the Symfony component.

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