package piqilib

  1. Overview
  2. Docs
module C = Piqi_common
val hex : int -> char
val write_special : string -> int Stdlib.ref -> int -> Stdlib.Buffer.t -> string -> unit
val write_control_char : string -> int Stdlib.ref -> int -> Stdlib.Buffer.t -> char -> unit
val finish_string : string -> int Stdlib.ref -> Stdlib.Buffer.t -> unit
val write_string_body : Stdlib.Buffer.t -> string -> unit
val write_string : Stdlib.Buffer.t -> string -> unit
val json_string_of_string : string -> string
val json_string_of_float : float -> string
val write_float : Stdlib.Buffer.t -> float -> unit
val test_float : unit -> unit
val uint64_to_string : int64 -> string
val use_indent : bool Stdlib.ref
val indent_level : int Stdlib.ref
val indent : Stdlib.Buffer.t -> unit
val iter2_aux : (Stdlib.Buffer.t -> 'a -> 'b) -> (Stdlib.Buffer.t -> 'c) -> Stdlib.Buffer.t -> 'a list -> unit
val iter2 : (Stdlib.Buffer.t -> 'a -> 'b) -> (Stdlib.Buffer.t -> 'c) -> Stdlib.Buffer.t -> 'a list -> unit
val f_sep : Stdlib.Buffer.t -> unit
val write_json : Stdlib.Buffer.t -> json -> unit
val write_assoc : Stdlib.Buffer.t -> (string * json) list -> unit
val write_list : Stdlib.Buffer.t -> json list -> unit
val to_buffer : ?indent:bool -> Stdlib.Buffer.t -> json -> unit
val to_string : ?buf:Stdlib.Buffer.t -> ?len:int -> ?indent:bool -> json -> string
val to_channel : ?buf:Stdlib.Buffer.t -> ?len:'a -> ?indent:bool -> Stdlib.out_channel -> json -> unit
val array : Easy_format.list_param
val record : Easy_format.list_param
val tuple : Easy_format.list_param
val variant : Easy_format.list_param
val format : json -> Easy_format.t
val format_field : (string * Piqi_json_type.json) -> Easy_format.t
val pretty_to_buffer : ?indent:bool -> Stdlib.Buffer.t -> json -> unit
val pretty_to_string : ?indent:bool -> json -> string
val pretty_to_channel : ?indent:bool -> Stdlib.out_channel -> json -> unit
OCaml

Innovation. Community. Security.