Json::getFileExtension

public static Json::getFileExtension()

Gets the file extension for this serialization format.

Return value

string The file extension, without leading dot.

Overrides SerializationInterface::getFileExtension

File

core/lib/Drupal/Component/Serialization/Json.php, line 32

Class

Json
Default serialization for JSON.

Namespace

Drupal\Component\Serialization

Code

public static function getFileExtension() {
  return 'json';
}
doc_Drupal
2016-10-29 09:21:36
Comments
Leave a Comment

Please login to continue.