decode package:aeson

Efficiently deserialize a JSON value from a lazy ByteString. If this fails due to incomplete or invalid input, Nothing is returned.
Efficiently deserialize a JSON value from a lazy ByteString. If this fails due to incomplete or invalid input, Nothing is returned. Since 2.2.0.0 an alias for decode.
Efficiently deserialize a JSON value from a file. If this fails due to incomplete or invalid input, Nothing is returned. The input file's content must consist solely of a JSON document, with no trailing data except for whitespace. This function parses immediately, but defers conversion. See json for details.
Efficiently deserialize a JSON value from a file. If this fails due to incomplete or invalid input, Nothing is returned. Since 2.2.0.0 an alias for decodeFileStrict.
Efficiently deserialize a JSON value from a strict ByteString. If this fails due to incomplete or invalid input, Nothing is returned.
Efficiently deserialize a JSON value from a strict ByteString. If this fails due to incomplete or invalid input, Nothing is returned. Since 2.2.0.0 an alias for decodeStrict.
Efficiently deserialize a JSON value from a strict Text. If this fails due to incomplete or invalid input, Nothing is returned.
Like decode but returns an error message when decoding fails.
Like decode' but returns an error message when decoding fails. Since 2.2.0.0 an alias for eitherDecode.
Like decodeFileStrict but returns an error message when decoding fails.
Like decodeFileStrict' but returns an error message when decoding fails. Since 2.2.0.0 an alias for eitherDecodeFileStrict'.
Like decodeStrict but returns an error message when decoding fails.
Like decodeStrict' but returns an error message when decoding fails. Since 2.2.0.0 an alias for eitherDecodeStrict.
Like decodeStrictText but returns an error message when decoding fails.
Like decode but throws an AesonException when decoding fails. throwDecode is in aeson since 2.1.2.0, but this variant is added later.
Like decode' but throws an AesonException when decoding fails. Since 2.2.0.0 an alias for throwDecode.
Like decodeStrict but throws an AesonException when decoding fails.
Like decodeStrict' but throws an AesonException when decoding fails. Since 2.2.0.0 an alias for throwDecodeStrict.
Like decodeStrictText but throws an AesonException when decoding fails.