JSON Preserves schema!
This commit is contained in:
parent
264c4b9d2e
commit
ef7cea09bf
|
@ -215,6 +215,14 @@ equivalent compact machine-readable syntax.
|
||||||
`null` are all read as `Symbol`s, and that `SignedInteger`s are
|
`null` are all read as `Symbol`s, and that `SignedInteger`s are
|
||||||
never read as `Double`s.
|
never read as `Double`s.
|
||||||
|
|
||||||
|
The following [schema](./preserves-schema.html) definitions match
|
||||||
|
exactly the JSON subset of a Preserves input:
|
||||||
|
|
||||||
|
version 1 .
|
||||||
|
JSON = @string string / @integer int / @double double / @boolean JSONBoolean / @null =null
|
||||||
|
/ @array [JSON ...] / @object { string: JSON ...:... } .
|
||||||
|
JSONBoolean = =true / =false .
|
||||||
|
|
||||||
### Character set.
|
### Character set.
|
||||||
|
|
||||||
[ABNF][abnf] allows easy definition of US-ASCII-based languages.
|
[ABNF][abnf] allows easy definition of US-ASCII-based languages.
|
||||||
|
|
Loading…
Reference in New Issue