Tests converting PHP variables to JSON strings and back.
Code
public static functiongetInfo() {
returnarray(
'name' => 'JSON',
'description' => 'Perform unit tests on the drupal_json_encode() and drupal_json_decode() functions.',
'group' => 'System',
);
}