Set JSON decode mode
public static jsonOpts ( boolean $assoc = false, integer $depth = 512, integer $options ) : array | ||
$assoc | boolean | When TRUE, returned objects will be converted into associative arrays. |
$depth | integer | User specified recursion depth. |
$options | integer | Bitmask of JSON decode options. Currently only JSON_BIGINT_AS_STRING is supported (default is to cast large integers as floats) |
return | array |