Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module Json_of_string : sig ... end
type json = Json_of_string.json
val json_of_string_exn : string -> json
json_of_string_exn
- the same as json_of_string
but raises on error
val json_to_string_exn : json -> string
json_to_string_exn
- the same as json_to_string
but raises on error
json_to_string_hum
- same as json_to_string_exn
but formats the output for humans to read
type t = Json_of_string.json
val of_string : string -> t
of_string
- decode a string
to a json
type, raises on error
val to_string : t -> string
to_string
- encode a json
type to a string
, raises on error