Home
last modified time | relevance | path

Searched refs:json (Results 1 – 4 of 4) sorted by relevance

/PHP-Parser/test/PhpParser/
H A DJsonDecoderTest.php18 $json = json_encode($stmts);
21 $decodedStmts = $jsonDecoder->decode($json);
26 public function testDecodingError($json, $expectedMessage): void { argument
30 $jsonDecoder->decode($json);
H A DNodeAbstractTest.php556 $json = json_encode($stmts, JSON_PRETTY_PRINT);
557 $this->assertEquals(canonicalize($expected), canonicalize($json));
/PHP-Parser/lib/PhpParser/
H A DJsonDecoder.php10 public function decode(string $json) { argument
11 $value = json_decode($json, true);
/PHP-Parser/doc/component/
H A DJSON_representation.markdown34 ```json
128 $ast = $jsonDecoder->decode($json);

Completed in 11 milliseconds