MODULE REFERENCE
Data.Json.Decode
Convert a JSON value to a specific application type.
SYNOPSIS
Types and classes
opaque Decoder aA typed decoder with a path-aware failure report.
data DecodeErrorThe path, expected type, and actual value at a failed decoding step.
Functions and values
decode :: forall a. Decoder a -> Json -> Result DecodeError aApply a decoder to a JSON value.
field :: forall a. String -> Decoder a -> Decoder aDecode a named field in an object.
string :: Decoder StringAccept a JSON string.
