Converts an HTML-safe JSON string into its PHP equivalent.
See also
drupal_json_encode()
Related topics
File
- drupal/includes/common.inc, line 5176
- Common functions that many Drupal modules will need to reference.
Code
function drupal_json_decode($var) {
return json_decode($var, TRUE);
}