package jsonaf

  1. Overview
  2. Docs

Module Jsonaf_kernel.ExpertSource

The expert type and functions abstract over the type of `Number, so one could build a parser that worked specifically for, say, float ts or Bigdecimal.t ts instead of using string as an intermediate type.

Sourcetype 'number t = [
  1. | `Null
  2. | `False
  3. | `True
  4. | `String of string
  5. | `Number of 'number
  6. | `Object of (string * 'number t) list
  7. | `Array of 'number t list
]
Sourcemodule Parser : sig ... end
Sourcemodule Serializer : sig ... end
OCaml

Innovation. Community. Security.