package ppx_yojson_conv

  1. Overview
  2. Docs
val yojson_of_unit : unit -> Yojson.Safe.t
val yojson_of_bool : bool -> Yojson.Safe.t
val yojson_of_string : string -> Yojson.Safe.t
val yojson_of_bytes : bytes -> Yojson.Safe.t
val yojson_of_char : char -> Yojson.Safe.t
val yojson_of_int : int -> Yojson.Safe.t
val yojson_of_float : float -> Yojson.Safe.t
val yojson_of_int32 : int32 -> Yojson.Safe.t
val yojson_of_int64 : int64 -> Yojson.Safe.t
val yojson_of_nativeint : nativeint -> Yojson.Safe.t
val yojson_of_ref : ('a -> Yojson.Safe.t) -> 'a ref -> Yojson.Safe.t
val yojson_of_lazy_t : ('a -> Yojson.Safe.t) -> 'a lazy_t -> Yojson.Safe.t
val yojson_of_option : ('a -> Yojson.Safe.t) -> 'a option -> Yojson.Safe.t
val yojson_of_list : ('a -> Yojson.Safe.t) -> 'a list -> Yojson.Safe.t
val yojson_of_array : ('a -> Yojson.Safe.t) -> 'a array -> Yojson.Safe.t
val yojson_of_hashtbl : ('a -> Yojson.Safe.t) -> ('b -> Yojson.Safe.t) -> ('a, 'b) Hashtbl.t -> Yojson.Safe.t
val unit_of_yojson : Yojson.Safe.t -> unit
val bool_of_yojson : Yojson.Safe.t -> bool
val string_of_yojson : Yojson.Safe.t -> string
val bytes_of_yojson : Yojson.Safe.t -> bytes
val char_of_yojson : Yojson.Safe.t -> char
val int_of_yojson : Yojson.Safe.t -> int
val float_of_yojson : Yojson.Safe.t -> float
val int32_of_yojson : Yojson.Safe.t -> int32
val int64_of_yojson : Yojson.Safe.t -> int64
val nativeint_of_yojson : Yojson.Safe.t -> nativeint
val ref_of_yojson : (Yojson.Safe.t -> 'a) -> Yojson.Safe.t -> 'a ref
val lazy_t_of_yojson : (Yojson.Safe.t -> 'a) -> Yojson.Safe.t -> 'a lazy_t
val option_of_yojson : (Yojson.Safe.t -> 'a) -> Yojson.Safe.t -> 'a option
val list_of_yojson : (Yojson.Safe.t -> 'a) -> Yojson.Safe.t -> 'a list
val array_of_yojson : (Yojson.Safe.t -> 'a) -> Yojson.Safe.t -> 'a array
val hashtbl_of_yojson : (Yojson.Safe.t -> 'a) -> (Yojson.Safe.t -> 'b) -> Yojson.Safe.t -> ('a, 'b) Hashtbl.t
OCaml

Innovation. Community. Security.