package ocaml-protoc-yojson

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = (string * json) list ref
val empty : unit -> 'a list ref
val set_null : ('a * [> `Null ]) list ref -> 'b -> unit
val set_string : ('a * [> `String of 'b ]) list ref -> 'c -> 'b -> unit
val set_float : ('a * [> `Float of 'b ]) list ref -> 'c -> 'b -> unit
val set_int : ('a * [> `Int of 'b ]) list ref -> 'c -> 'b -> unit
val set_bool : ('a * [> `Bool of 'b ]) list ref -> 'c -> 'b -> unit
val set_object : ('a * [> `Assoc of 'b ]) list ref -> 'c -> 'b ref -> unit
val set_string_list : ('a * [> `List of [> `String of 'b ] list ]) list ref -> 'c -> 'b list -> unit
val set_float_list : ('a * [> `List of [> `Float of 'b ] list ]) list ref -> 'c -> 'b list -> unit
val set_int_list : ('a * [> `List of [> `Int of 'b ] list ]) list ref -> 'c -> 'b list -> unit
val set_bool_list : ('a * [> `List of [> `Bool of 'b ] list ]) list ref -> 'c -> 'b list -> unit
val set_object_list : ('a * [> `List of [> `Assoc of 'b ] list ]) list ref -> 'c -> 'b ref list -> unit
val to_json : 'a ref -> [> `Assoc of 'a ]
val to_string : (string * Yojson.Basic.t) list ref -> string
OCaml

Innovation. Community. Security.