Skip navigation
Help

drupal_json_decode

7 common.inc drupal_json_decode($var)

Converts an HTML-safe JSON string into its PHP equivalent.

See also

drupal_json_encode()

Related topics

8 calls to drupal_json_decode()

File

drupal/includes/common.inc, line 4815
Common functions that many Drupal modules will need to reference.

Code

function drupal_json_decode($var) {
  return json_decode($var, TRUE);
}