package piqilib

  1. Overview
  2. Docs
module C = Piqi_common
val json_name' : string -> string
val json_name : string -> string option
val check_json_name : string -> unit
val typedef_json_name : [> `alias of C.A.t | `enum of C.E.t | `list of C.L.t | `record of C.R.t | `variant of C.V.t ] -> string option
val json_name_of : string option -> [> `alias of C.A.t | `enum of C.E.t | `list of C.L.t | `record of C.R.t | `variant of C.V.t ] option -> string option
val json_name_field : C.Field.t -> unit
val json_name_record : C.Record.t -> unit
val json_name_option : C.Option.t -> unit
val json_name_variant : C.Variant.t -> unit
val json_name_enum : C.Enum.t -> unit
val json_name_alias : C.Alias.t -> unit
val json_name_list : C.L.t -> unit
val json_name_typedef : [< `alias of C.Alias.t | `enum of C.Enum.t | `list of C.L.t | `record of C.Record.t | `variant of C.Variant.t ] -> unit
val json_name_record' : C.R.t -> unit
val json_name_variant' : C.V.t -> unit
val json_name_enum' : C.E.t -> unit
val json_name_typedef' : [> `enum of C.E.t | `record of C.R.t | `variant of C.V.t ] -> unit
val json_name_defs : [< `alias of C.Alias.t | `enum of C.E.t | `list of C.L.t | `record of C.R.t | `variant of C.V.t enum record variant ] list -> unit
val json_name_piqi : 'a -> C.T.piqi -> unit
val init : unit -> unit
val read_json_obj : (Piqi_json_parser.lexer_state * Piqi_json_parser.Lexing.lexbuf) -> [> `Assoc of (string * 'a) list | `Bool of bool | `Float of float | `Floatlit of string | `Int of int64 | `Intlit of string | `List of 'a list | `Null of unit | `String of string | `Stringlit of string | `Uint of int64 ] as 'a option
val json_of_string : string -> Piqi_json_type.json
OCaml

Innovation. Community. Security.