Provides default serialization for YAML using the PECL extension.
Hierarchy
- class \Drupal\Component\Serialization\YamlPecl implements SerializationInterface
File
- core/lib/Drupal/Component/Serialization/YamlPecl.php, line 10
Namespace
Drupal\Component\Serialization
Members
Name | Modifiers | Type | Description |
---|---|---|---|
YamlPecl::applyBooleanCallbacks | public static | function | Applies callbacks after parsing to ignore 1.1 style booleans. |
YamlPecl::decode | public static | function | Decodes data from the serialization format. Overrides SerializationInterface::decode |
YamlPecl::encode | public static | function | Encodes data into the serialization format. Overrides SerializationInterface::encode |
YamlPecl::errorHandler | public static | function | Handles errors for \Drupal\Component\Serialization\YamlPecl::decode(). |
YamlPecl::getFileExtension | public static | function | Gets the file extension for this serialization format. Overrides SerializationInterface::getFileExtension |
Please login to continue.