File
- drupal/core/modules/system/lib/Drupal/system/Tests/Common/JsonUnitTest.php, line 16
- Definition of Drupal\system\Tests\Common\JsonUnitTest.
Class
- JsonUnitTest
- Tests the drupal_json_encode() and drupal_json_decode() functions.
Namespace
Drupal\system\Tests\Common
Code
public static function getInfo() {
return array(
'name' => 'JSON',
'description' => 'Tests the drupal_json_encode() and drupal_json_decode() functions to convert PHP variables to JSON strings and back.',
'group' => 'Common',
);
}