package piqi

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type input_format = [
  1. | `json
  2. | `pb
  3. | `piq
  4. | `pib
  5. | `xml
]
type output_format = [
  1. | input_format
  2. | `json_pretty
  3. | `xml_pretty
]
type piqi_type
type options
val init_piqi : string -> unit
val find_piqi_type : string -> piqi_type
val make_options : ?pretty_print:bool -> ?json_omit_missing_fields:bool -> ?json_omit_null_fields:bool -> ?use_strict_parsing:bool -> ?piq_frameless_output:bool -> ?piq_frameless_input:bool -> ?piq_relaxed_parsing:bool -> unit -> options
val convert : ?opts:options -> piqi_type -> input_format -> output_format -> string -> string