Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Aws.Json
SourceThis module contains a Json type (compatible with Yojson.Basic.t) and helpers.
type t = [
| `Assoc of (string * t) list
| `Bool of bool
| `Float of float
| `Int of int
| `List of t list
| `Null
| `String of string
]
Json type. This is compatible with Yojson.Basic.t
This is thrown in the case that an unsafe cast (like to_list below) fails.
This converts a `List (t list) to 't list, or throws a Casting_error in the case that the input is not a `List.
This converts an `Assoc (string * t list) to ('a, 'b) Hashtbl.t, or throws a Casting_error in the case that the input is not an `Assoc.