module Json_of_string : module type of sig ... end
val json_of_string : string ‑> (json, string) Pervasives.result
json_of_string
- decode a string
to a json
type
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 : json ‑> (string, string) Pervasives.result
json_to_string
- encode a json
type to a string
val json_to_string_exn : json ‑> string
json_to_string_exn
- the same as json_to_string
but raises on error
val json_to_string_hum : json ‑> (string, string) Pervasives.result
json_to_string_hum
- same as json_to_string_exn
but formats the output for
humans to read