Module Json


module Json: sig .. end
Unsafe IO. (See Deriving_Json for typesafe IO)

val output : ?encoding:[ `Byte | `Unicode ] -> 'a -> Js.js_string Js.t
Mashall any OCaml value into this JSON representation.
val unsafe_input : ?encoding:[ `Byte | `Unicode ] -> Js.js_string Js.t -> 'a
Unmarshall a string in JSON format as a OCaml value (unsafe but fast !).