Default serialization for JSON.
Hierarchy
- class \Drupal\Component\Serialization\Json implements SerializationInterface
Related topics
- REST and Application Integration
- Integrating third-party applications using REST and related operations.
File
- core/lib/Drupal/Component/Serialization/Json.php, line 10
Namespace
Drupal\Component\Serialization
Members
Name | Modifiers | Type | Description |
---|---|---|---|
Json::decode | public static | function | Decodes data from the serialization format. Overrides SerializationInterface::decode |
Json::encode | public static | function | Uses HTML-safe strings, with several characters escaped. Overrides SerializationInterface::encode |
Json::getFileExtension | public static | function | Gets the file extension for this serialization format. Overrides SerializationInterface::getFileExtension |
Please login to continue.