Function

json_decode

Synopsis

json_decode(string, mixed ...): mixed

Area
Runtime\PS\Core\JSON\json_decodeareas

Description

json_decode parses the JSON in $text. $associative must be true or omitted because decoding into objects is not implemented. It takes $depth and $flags and ignores them, and invalid input raises an error where php returns null.

Usage

$value = json_decode($arguments);
$fn = json_decode(...);

See also