
Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: markup/textual/json/concrete/zaytsev/extracted
Source used for this grammar: Vadim Zaytsev, language::JSON, November 2012 [Explore]
JSONObject, JSONData, JSONBasicType, JSONBoolean, JSONArray, JSONNumber, JSONNull, JSONKeyValue, JSONString), 0 root (—), 1 top (JSONData), 2 bottom (DoubleQuotedString, Digits 2).[key], [val].JSONObject ::= "{" JSONKeyValue "," "}"
JSONData ::= JSONBasicType
JSONBasicType ::= JSONString
JSONBasicType ::= JSONNull
JSONBasicType ::= JSONBoolean
JSONBasicType ::= JSONNumber
JSONBasicType ::= JSONArray
JSONBasicType ::= JSONObject
JSONBoolean ::=
"false"JSONBoolean ::=
"true"JSONArray ::= "[" JSONBasicType "," "]"
JSONNumber ::= "-" Digits "." Digits
JSONNull ::=
"null"JSONKeyValue ::=
[key]::JSONBasicType ":" [val]::JSONBasicTypeJSONString ::= DoubleQuotedString