piqilib
Piqobj
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 unalias : Piqobj.obj -> Piqobj.obj
val put_any : Piqobj.any -> int
val get_any : int -> Piqobj.any
val make_piqi_any_from_obj : ?typename:string -> Piqobj.obj -> Piqi_impl_piqi.Any.t
val any_of_piqi_any : Piqi_impl_piqi.any -> Piqobj.any
val to_pb : (Piqobj.obj -> string) ref
val to_piq : (Piqobj.obj -> Piq_ast.ast) ref
val to_json : (Piqobj.obj -> Piqi_json_type.json) ref
val to_xml : (Piqobj.obj -> Piqi_xml_type.xml list) ref
val of_pb : (Piqi_impl_piqi.piqtype -> string -> Piqobj.obj) ref
val of_piq : (Piqi_impl_piqi.piqtype -> Piq_ast.ast -> Piqobj.obj) ref
val of_json : (Piqi_impl_piqi.piqtype -> Piqi_json_type.json -> Piqobj.obj) ref
val of_xml : (Piqi_impl_piqi.piqtype -> Piqi_xml_type.xml_elem -> Piqobj.obj) ref
val json_of_string : (string -> Piqi_json_type.json) ref
val xml_of_string : (string -> Piqi_xml_type.xml list) ref
val piq_of_string : (string -> Piq_ast.ast) ref
val string_of_json : (Piqi_json_type.json -> string) ref
val string_of_xml : (Piqi_xml_type.xml -> string) ref
val string_of_piq : (Piq_ast.ast -> string) 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
include module type of struct include Piqobj end
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 = [
| `record of record
| `variant of variant
| `enum of enum
| `alias of alias
| `list of list
]
type obj = [
| typedef
| `int of int64
| `uint of int64
| `float of float
| `bool of bool
| `string of string
| `binary of string
| `any of any