mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-24 08:56:52 +01:00
15 lines
375 B
Plaintext
15 lines
375 B
Plaintext
|
root ::= object
|
||
|
|
||
|
object ::= "{" ws ( string ":" ws value ("," ws string ":" ws value)* )? "}" ws
|
||
|
|
||
|
value ::= object | array | string | number | ("true" | "false" | "null") ws
|
||
|
|
||
|
array ::= "[" ws ( value ("," ws value)* )? "]" ws
|
||
|
|
||
|
string ::= "\"" ( [a-zA-Z0-9] )* "\"" ws
|
||
|
|
||
|
number ::= ("-"? ([0-9] | [1-9] [0-9]*)) ("." [0-9]+)? ([eE] [-+]? [0-9]+)? ws
|
||
|
|
||
|
|
||
|
ws ::= ([ \t\n] ws)?
|