package melange-json-native

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
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
OCaml

Innovation. Community. Security.