Make.1-J
val to_string : t -> (string, [ `Msg of string ]) Stdlib.result
Convert the JSON to a string.
val string : string -> t
Create a JSON string.
val to_float : t -> (float, [ `Msg of string ]) Stdlib.result
Convert the JSON to a float.
val float : float -> t
Converts a float to JSON
to_list f
converts the JSON array to a list and applies f
to each element to convert them too.
Like to_list
except to an array.
val null : t
Null value
val is_null : t -> bool
Test for null