PrimaryExpr ::= -- everything so far --
| JSONConstructor
JSONConstructor ::=
ArrayConstructor
| ObjectConstructor
ArrayConstructor ::= "[" Expr? "]"
ObjectConstructor ::=
"{" ( PairConstructor ("," PairConstructor)* )? "}"
| | "{|" Expr "|}"
PairConstructor ::= ExprSingle (":" | "?:") ExprSingle
[ "Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday" ]
[
[1, 2, 3],
[4, 5, 6],
[7, 8, 9]
]
[ 10 to 15 ]
[ 10, 11, 12, 13, 14, 15 ]