package ocaml-protoc-yojson

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = (string * json) list ref
val of_json : [> `Assoc of 'a ] -> 'b ref option
val of_string : string -> (string * Yojson.Basic.t) list ref option
type value =
  1. | String of string
  2. | Float of float
  3. | Int of int
  4. | Object of t
  5. | Array_as_array of value array
  6. | Bool of bool
  7. | Null
val map : [< `Assoc of (string * json) list | `Bool of bool | `Float of float | `Int of int | `List of 'a list | `Null | `String of string ] as 'a -> value
val key : ('a * [< `Assoc of (string * json) list | `Bool of bool | `Float of float | `Int of int | `List of 'c list | `Null | `String of string ] as 'b) list ref -> ('d * value) option