package melange-json-native

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include To_json end
val string_to_json : 'a -> [> `String of 'a ]
val bool_to_json : 'a -> [> `Bool of 'a ]
val int_to_json : 'a -> [> `Int of 'a ]
val float_to_json : 'a -> [> `Float of 'a ]
val unit_to_json : unit -> [> `Null ]
val list_to_json : ('a -> 'b) -> 'a list -> [> `List of 'b list ]
val option_to_json : ('a -> [> `Null ] as 'b) -> 'a option -> 'b
include module type of struct include Of_json end
val string_of_json : Yojson__Basic.t -> string
val bool_of_json : Yojson__Basic.t -> bool
val int_of_json : Yojson__Basic.t -> int
val float_of_json : Yojson__Basic.t -> float
val unit_of_json : [> `Null ] -> unit
val option_of_json : (Yojson__Basic.t -> 'a) -> Yojson__Basic.t -> 'a option
val list_of_json : (Yojson__Basic.t -> 'a) -> Yojson__Basic.t -> 'a list
OCaml

Innovation. Community. Security.