public static function jsonDecode($data, array $context = [])
    {
        $defaults = [
            'json_decode_associative' => true,
            'json_decode_recursion_depth' => 512,
            'json_decode_options' => 0,
        ];

        return (new JsonEncoder())->decode($data, 'json', array_replace($defaults, $context));
    }
public static function jsonDecode($data, array $context = [])
    {
        $defaults = [
            'json_decode_associative' => true,
            'json_decode_recursion_depth' => 512,
            'json_decode_options' => 0,
        ];

        return (new JsonEncoder())->decode($data, 'json', array_replace($defaults, $context));
    }
public static function jsonDecode ( $ data , array $ context = [ ] ) { $ defaults = [ 'json_decode_associative' => true , 'json_decode_recursion_depth' => 512 , 'json_decode_options' => 0 , ] ; return ( new JsonEncoder ( ) ) -> decode ( $ data , 'json' , array_replace ( $ defaults , $ context ) ) ; }
json decode.
json decode .