piqilib

The Piqi library -- runtime support for multi-format Protobuf/JSON/XML/Piq data serialization and conversion
Library piqilib
Module Piqi_json_gen
module C = Piqi_common
val hex : int -> char
val write_special : string -> int ref -> int -> Buffer.t -> string -> unit
val write_control_char : string -> int ref -> int -> Buffer.t -> char -> unit
val finish_string : string -> int ref -> Buffer.t -> unit
val write_string_body : Buffer.t -> string -> unit
val write_string : Buffer.t -> string -> unit
val json_string_of_string : string -> string
val json_string_of_float : float -> string
val write_float : Buffer.t -> float -> unit
val test_float : unit -> unit
val uint64_to_string : int64 -> string
val use_indent : bool ref
val indent_level : int ref
val indent : Buffer.t -> unit
val iter2_aux : ( Buffer.t -> 'a -> 'b ) -> ( Buffer.t -> 'c ) -> Buffer.t -> 'a list -> unit
val iter2 : ( Buffer.t -> 'a -> 'b ) -> ( Buffer.t -> 'c ) -> Buffer.t -> 'a list -> unit
val f_sep : Buffer.t -> unit
val write_json : Buffer.t -> json -> unit
val write_assoc : Buffer.t -> (string * json) list -> unit
val write_list : Buffer.t -> json list -> unit
val to_buffer : ?indent:bool -> Buffer.t -> json -> unit
val to_string : ?buf:Buffer.t -> ?len:int -> ?indent:bool -> json -> string
val to_channel : ?buf:Buffer.t -> ?len:'a -> ?indent:bool -> out_channel -> json -> unit
val format : json -> Easy_format.t
val format_field : (string * Piqi_json_type.json) -> Easy_format.t
val pretty_to_buffer : ?indent:bool -> Buffer.t -> json -> unit
val pretty_to_string : ?indent:bool -> json -> string
val pretty_to_channel : ?indent:bool -> out_channel -> json -> unit