package piqilib

  1. Overview
  2. Docs
The Piqi library -- runtime support for multi-format Protobuf/JSON/XML/Piq data serialization and conversion

Install

Dune Dependency

Authors

Maintainers

Sources

v0.6.16.tar.gz
sha256=7490ab16b6f0f2496b58731c49eaa596985cbaff3be1edf3def8d61dae99fa53
md5=33121fae570f0949426bab875c809b78

doc/piqilib/Piqobj/index.html

Module PiqobjSource

Sourcemodule Piqobj : sig ... end
Sourcemodule Record : sig ... end
Sourcemodule Field : sig ... end
Sourcemodule Variant : sig ... end
Sourcemodule Enum : sig ... end
Sourcemodule Option : sig ... end
Sourcemodule List : sig ... end
Sourcemodule Alias : sig ... end
Sourcemodule Any : sig ... end
Sourcemodule U = C.U
Sourceval default_any : Any.t
Sourceval unalias : Piqobj.obj -> Piqobj.obj
Sourceval put_any : Piqobj.any -> int
Sourceval get_any : int -> Piqobj.any
Sourceval make_piqi_any_from_obj : ?typename:string -> Piqobj.obj -> Piqi_impl_piqi.Any.t
Sourceval any_of_piqi_any : Piqi_impl_piqi.any -> Piqobj.any
Sourceval to_pb : (Piqobj.obj -> string) ref
Sourceval to_piq : (Piqobj.obj -> Piq_ast.ast) ref
Sourceval to_xml : (Piqobj.obj -> Piqi_xml_type.xml list) ref
Sourceval of_pb : (Piqi_impl_piqi.piqtype -> string -> Piqobj.obj) ref
Sourceval json_of_string : (string -> Piqi_json_type.json) ref
Sourceval xml_of_string : (string -> Piqi_xml_type.xml list) ref
Sourceval piq_of_string : (string -> Piq_ast.ast) ref
Sourceval string_of_json : (Piqi_json_type.json -> string) ref
Sourceval string_of_xml : (Piqi_xml_type.xml -> string) ref
Sourceval string_of_piq : (Piq_ast.ast -> string) ref
Sourceval resolve_obj : ?piqtype:Piqi_impl_piqi.piqtype -> Piqobj.any -> unit
Sourceval piq_of_any : Piqobj.any -> Piq_ast.ast option
Sourceval pb_of_any : Piqobj.any -> string option
Sourceval json_of_any : Piqobj.any -> Piqi_json_type.json option
Sourceval xml_of_any : Piqobj.any -> Piqi_xml_type.xml list option
Sourceval piq_of_piqi_any : Piqi_impl_piqi.any -> Piq_ast.ast
Sourceval 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 = [
  1. | `record of record
  2. | `variant of variant
  3. | `enum of enum
  4. | `alias of alias
  5. | `list of list
]
type obj = [
  1. | typedef
  2. | `int of int64
  3. | `uint of int64
  4. | `float of float
  5. | `bool of bool
  6. | `string of string
  7. | `binary of string
  8. | `any of any
]
OCaml

Innovation. Community. Security.