package aws
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Aws.Json
This module contains a Json type (compatible with Yojson.Basic.json) 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.json
exception Casting_error of string * 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.