3 class Kint_Parsers_Json extends kintParser
5 protected function _parse( & $variable )
8 || !is_string( $variable )
9 || !isset( $variable{0} ) || ( $variable{0} !== '{' && $variable{0} !== '[' )
10 || ( $json = json_decode( $variable, true ) ) === null
14 if ( empty( $val ) ) return false;
16 $this->value = kintParser::factory( $val )->extendedValue;