function Json::getFileExtension
Same name in other branches
- 9 core/lib/Drupal/Component/Serialization/Json.php \Drupal\Component\Serialization\Json::getFileExtension()
- 8.9.x core/lib/Drupal/Component/Serialization/Json.php \Drupal\Component\Serialization\Json::getFileExtension()
- 10 core/lib/Drupal/Component/Serialization/Json.php \Drupal\Component\Serialization\Json::getFileExtension()
Overrides SerializationInterface::getFileExtension
File
-
core/
lib/ Drupal/ Component/ Serialization/ Json.php, line 32
Class
- Json
- Default serialization for JSON.
Namespace
Drupal\Component\SerializationCode
public static function getFileExtension() {
return 'json';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.