package piqilib

  1. Overview
  2. Docs
module Piqobj : sig ... end
module Record : sig ... end
module Field : sig ... end
module Variant : sig ... end
module Enum : sig ... end
module Option : sig ... end
module List : sig ... end
module Alias : sig ... end
module Any : sig ... end
module C = Piqi_common
module U = C.U
val default_any : Any.t
val put_any : Piqobj.any -> int
val get_any : int -> Piqobj.any
val any_of_piqi_any : Piqi_impl_piqi.any -> Piqobj.any
val to_pb : (Piqobj.obj -> string) Pervasives.ref
val json_of_string : (string -> Piqi_json_type.json) Pervasives.ref
val xml_of_string : (string -> Piqi_xml_type.xml list) Pervasives.ref
val string_of_json : (Piqi_json_type.json -> string) Pervasives.ref
val string_of_xml : (Piqi_xml_type.xml -> string) Pervasives.ref
val of_any : Piqi_impl_piqi.piqtype -> Piqobj.any -> Piqobj.obj option
val resolve_obj : ?piqtype:Piqi_impl_piqi.piqtype -> Piqobj.any -> unit
val piq_of_any : Piqobj.any -> Piq_ast.ast option
val pb_of_any : Piqobj.any -> string option
val json_of_any : Piqobj.any -> Piqi_json_type.json option
val xml_of_any : Piqobj.any -> Piqi_xml_type.xml list option
val piq_of_piqi_any : Piqi_impl_piqi.any -> Piq_ast.ast
val pb_of_piqi_any : Piqi_impl_piqi.any -> string
type record = Record.t
type variant = Variant.t
type enum = Enum.t
type alias = Alias.t
type list = List.t
type field = Field.t
type option = Option.t
type any = Any.t
type typedef = [
  1. | `alias of alias
  2. | `enum of enum
  3. | `list of list
  4. | `record of record
  5. | `variant of variant
]
type obj = [
  1. | `alias of alias
  2. | `any of any
  3. | `binary of string
  4. | `bool of bool
  5. | `enum of enum
  6. | `float of float
  7. | `int of int64
  8. | `list of list
  9. | `record of record
  10. | `string of string
  11. | `uint of int64
  12. | `variant of variant
]
OCaml

Innovation. Community. Security.