jsonxt

Jsonxt - JSON parsers for files, strings and more
IN THIS PACKAGE
type json = [
| `Null
| `Bool of bool
| `Float of float
| `String of string
| `As
| `Ae
| `Os
| `Oe
| `Name of string
]

The following polymorphic variants are supported

  • `Null: JSON null
  • `Bool of bool: JSON boolean
  • `Float of float: JSON number
  • `String of string: JSON string with characters in the range 128-255 preserved
  • `As - Array start marker
  • `Ae - Array end marker
  • `Os - Object start marker
  • `Oe - Object end marker
  • `Name of string - JSON object key as a JSON string
type t = json