json_of_jsonm_lib is a JSON encoder and decoder library that converts text to and from a
module Json_of_channel : sig ... end
val json_of_channel : in_channel -> ( json, string ) result

json_of_channel - decode a text stream from in_channel to a json type

val json_of_channel_exn : in_channel -> json

json_of_channel_exn - the same as json_of_channel but raises on error

val json_to_channel : out_channel -> json -> ( unit, string ) result

json_to_channel - encode a json type to channel out_channel

val json_to_channel_exn : out_channel -> json -> unit

json_to_channel_exn - the same as json_to_channel but raises on error