Efficiently deserialize a JSON value from a lazy L.ByteString.
If this fails due to incomplete or invalid input, Nothing is
returned.
- Packageaeson-2.2.3.0
- Exports11
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceDecoding.hs
Like decode 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.
Efficiently deserialize a JSON value from a strict B.ByteString.
If this fails due to incomplete or invalid input, Nothing is
returned.
Like decodeStrict but returns an error message when decoding fails.
Like decodeStrict but throws an AesonException when decoding fails.
Like decodeStrictText but returns an error message when decoding fails.
Like decodeStrictText but throws an AesonException when decoding fails.
toEitherValue Unescape JSON text literal.
This function is exporeted mostly for testing and benchmarking purposes.