Module Ppx_deriving_json_runtime.PrimitivesSource
include module type of struct include To_json end
Sourceval string_to_json : 'a -> [> `String of 'a ] Sourceval bool_to_json : 'a -> [> `Bool of 'a ] Sourceval int_to_json : 'a -> [> `Int of 'a ] Sourceval float_to_json : 'a -> [> `Float of 'a ] Sourceval unit_to_json : unit -> [> `Null ] Sourceval list_to_json : ('a -> 'b) -> 'a list -> [> `List of 'b list ] Sourceval option_to_json : ('a -> [> `Null ] as 'b) -> 'a option -> 'b include module type of struct include Of_json end
Sourceval string_of_json : Yojson__Basic.t -> string Sourceval bool_of_json : Yojson__Basic.t -> bool Sourceval int_of_json : Yojson__Basic.t -> int Sourceval float_of_json : Yojson__Basic.t -> float Sourceval unit_of_json : [> `Null ] -> unit Sourceval option_of_json : (Yojson__Basic.t -> 'a) -> Yojson__Basic.t -> 'a option Sourceval list_of_json : (Yojson__Basic.t -> 'a) -> Yojson__Basic.t -> 'a list