Deriving_JsonSourceTypesafe IO (based on the deriving library).
The type of JSON parser/printer for value of type 'a.
to_string Json.t<ty> v marshal the v of type ty to a JSON string.
from_string Json.t<ty> s safely unmarshal the JSON s into an OCaml value of type ty. Throws Failure if the received value isn't the javascript representation of a value of type ty.
Deriver
val read_option :
(Deriving_Json_lexer.lexbuf -> 'a) ->
Deriving_Json_lexer.lexbuf ->
'a option