package json_decoder

  1. Overview
  2. Docs

Install

Dune Dependency

Authors

Maintainers

Sources

json_decoder-0.1.1.tbz
sha256=14a5077fce1665f60930aef9d67755ecd16fa71796d94b311207d4d30f444014
md5=04d5c7b9b55ec973bb88ac55789addef

doc/json_decoder/Json_decoder/index.html

Module Json_decoderSource

Sourcemodule Dict : Map.S with type key = string
Sourcetype 'a dict = 'a Dict.t
Sourcetype 'a t
Sourcetype value
Sourceval value_of_string : string -> value
Sourceval value_to_string : value -> string
Sourceval value_of_yojson : Yojson.Basic.json -> value
Sourceval value_to_yojson : value -> Yojson.Basic.json
Sourceval decode : 'a t -> value -> ('a, string) Result.result
Sourceval decode_string : 'a t -> string -> ('a, string) Result.result
Sourceval string : string t
Sourceval float : float t
Sourceval int : int t
Sourceval bool : bool t
Sourceval null : 'a -> 'a t
Sourceval list : 'a t -> 'a list t
Sourceval array : 'a t -> 'a array t
Sourceval dict : 'a t -> 'a dict t
Sourceval pairs : 'a t -> (string * 'a) list t
Sourceval (@=) : string -> 'a t -> 'a t
Sourceval field : string -> 'a t -> 'a t
Sourceval index : int -> 'a t -> 'a t
Sourceval at : string list -> 'a t -> 'a t
Sourceval option : 'a t -> 'a option t
Sourceval one_of : 'a t list -> 'a t
Sourceval value : value t
Sourceval succeed : 'a -> 'a t
Sourceval fail : string -> 'a t
Sourceval map : ('a -> 'b) -> 'a t -> 'b t
Sourceval and_then : ('a -> 'b t) -> 'a t -> 'b t
Sourceval apply : ('a -> 'b) t -> 'a t -> 'b t
Sourceval (>>=) : 'a t -> ('a -> 'b t) -> 'b t
Sourceval mapN : 'fn -> 'fn t
Sourceval (||>) : ('a -> 'b) t -> 'a t -> 'b t
OCaml

Innovation. Community. Security.