piqilib

The Piqi library -- runtime support for multi-format Protobuf/JSON/XML/Piq data serialization and conversion
Library piqilib
Module Piqobj_of_xml
module C = Piqi_common
type xml_elem = Piqi_xml_type.xml_elem
val handle_unknown_field : (string * 'a) -> unit
val check_duplicate : string -> 'a list -> unit
val parse_scalar : ('a * [> `Data of 'b ] list) -> string -> 'b
val parse_string_scalar : ('a * [> `Data of string ] list) -> string -> string
val parse_int : ('a * [> `Data of string ] list) -> [> `int of int64 | `uint of int64 ]
val parse_float : ('a * [> `Data of string ] list) -> float
val parse_bool : ('a * [> `Data of string ] list) -> bool
val parse_string : ('a * [> `Data of string ] list) -> string
val parse_binary : ('a * [> `Data of string ] list) -> string
val get_record_elements : xml list -> xml_elem list
val parse_any : xml_elem -> Piqobj.any
val find_fields : Piqi_impl_piqi.Piqi_impl_piqi.name -> xml_elem list -> xml_elem list * xml_elem list
val parse_obj : C.T.piqtype -> [> `Elem of xml_elem ] -> Piqobj.obj