| 1 common.inc | backdrop_json_decode($var) |
Converts an HTML-safe JSON string into its PHP equivalent.
Parameters
string $var: The JSON string.
Return value
mixed:
See also
Related topics
File
- core/
includes/ common.inc, line 6067 - Common functions that many Backdrop modules will need to reference.
Code
function backdrop_json_decode($var) {
return json_decode($var, TRUE);
}