Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val string : string -> t
Create a JSON string.
val float : float -> t
Converts a float to JSON
val int : int -> t
Converts an integer 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.
Convert the JSON object to an association list
val null : t
Null value
val is_null : t -> bool
Test for null