1 common.inc backdrop_json_decode($var)

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

See also

backdrop_json_encode()

Related topics

File

core/includes/common.inc, line 5820
Common functions that many Backdrop modules will need to reference.

Code

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