function drupal_json_decode
drupal_json_decode($var)
Converts an HTML-safe JSON string into its PHP equivalent.
See also
Related topics
File
- includes/common.inc, line 5148
- Common functions that many Drupal modules will need to reference.
Code
function drupal_json_decode($var) { return json_decode($var, TRUE); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!common.inc/function/drupal_json_decode/7.x