function DrupalJSONTest::getInfo

File

modules/simpletest/tests/common.test, line 3090

Class

DrupalJSONTest
Tests converting PHP variables to JSON strings and back.

Code

public static function getInfo() {
    return array(
        'name' => 'JSON',
        'description' => 'Perform unit tests on the drupal_json_encode() and drupal_json_decode() functions.',
        'group' => 'System',
    );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.