module Jsonc_jsoo:sig..end
Jsont's js_of_ocaml backend.
This backend uses the browser's JavaScript
JSON.{parse,stringify} functions as a codec.
Limitations. The loc and mem_dups
argument of Jsont.decoder are unsupported.
typenat_string =Js.js_string Js.t
type soup
typeerror =string
typesrc =Js.js_string Js.t
type decoder
val decoder : src -> decoderdecoder src is a decoder that reads from src.val decoder_src : decoder -> srcdecoder_src d is d's source.typedst =Js.js_string Js.t
type encoder
val encoder : unit -> encoderencoder () is a new encoder.val encoder_dst : encoder -> dstencoder_dst e is the result of the Jsont.encodeing process.