package jsonxt
Module Json.StrictSource
Strict supports only types that are supported by the JSON standard. Integers are not supported
Source
type json = [ | `Null| `Bool of bool| `Float of float| `String of string| `Assoc of (string * json) list| `List of json list
]The following polymorphic variants supported
- `Null: JSON null
- `Bool of bool: JSON boolean
- `Float of float: JSON number. Infinity, NaN etc are not supported
- `String of string: JSON string. Bytes in the range 128-255 are preserved when reading and writing.
- `Assoc of (string * json) list: JSON object.
- `List of json list: JSON array.