Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: markup/textual/json/concrete/hills/extracted
Source used for this grammar: Mark Hills, lang::json::syntax::JSON
, May 2012 [Explore]
JSONText
, Value
, Object
, Member
, Array
), 0 root (—), 1 top (JSONText
), 2 bottom (StringLiteral
2, NumericLiteral
).[True]
, [Null]
, [False]
, [members]
, [Object]
, [memberName]
, [memberValue]
, [Member]
, [values]
, [Array]
.JSONText ::= Object
JSONText ::= Array
Value ::= NumericLiteral
Value ::= StringLiteral
Value ::=
[True]::"true"
Value ::= Object
Value ::= Array
Value ::=
[Null]::"null"
Value ::=
[False]::"false"
Object ::= [Object]::"{" [members]:: Member "," "}"
Member ::= [Member]::":" [memberValue]::Value[memberName]::StringLiteral
Array ::= [Array]::"[" [values]:: Value "," "]"