function drush_json_decode

8.0.x drush_json_decode($var)
6.x drush_json_decode($var)
7.x drush_json_decode($var)
4.x drush_json_decode($var)
5.x drush_json_decode($var)
master drush_json_decode($var)

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

We provide a copy of D7's drupal_json_decode since this function is unavailable on earlier versions of Drupal.

See also


Related topics

3 calls to drush_json_decode()
DrushJSONCache::readFile in includes/
drush_cache_command_set in commands/core/
Set an object in the cache.
_drush_variable_format in commands/core/


includes/, line 720


function drush_json_decode($var) {
  return json_decode($var, TRUE);