Browsable JSON Grammar

CC-BY

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]

Summary

Syntax

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]::([memberName]::StringLiteral ":" [memberValue]::Value)
Array ::=
	[Array]::("[" [values]::{Value ","}* "]")

GrammarLabMaintained by Dr. Vadim Zaytsev a.k.a. @grammarware. Last updated in September 2015. []