Up

module Json

: sig

Unsafe IO. (See [root:Deriving_Json] for typesafe IO)

#
val output : 'a -> Js.js_string Js.t

Marshal any OCaml value into this JSON representation.

#
val unsafe_input : Js.js_string Js.t -> 'a

Unmarshal a string in JSON format as an OCaml value (unsafe but fast !).

end