Data.Aeson

How to use this library

Writing instances by hand

Working with the AST

Decoding to a Haskell value

Decoding a mixed-type object

Encoding and decoding

Direct encoding

decode

decode'

eitherDecode

eitherDecode'

encode

Variants for strict bytestrings

decodeStrict

decodeStrict'

eitherDecodeStrict

eitherDecodeStrict'

Core JSON types

data Value

data Encoding

fromEncoding

type Array

type Object

Convenience types

data DotNetTime

Type conversion

class FromJSON a

data Result a

fromJSON

class ToJSON a

class KeyValue kv

Generic JSON classes and options

class GFromJSON f

class GToJSON f

genericToJSON

genericToEncoding

genericParseJSON

defaultOptions

Inspecting Values

withObject

withText

withArray

withNumber

withScientific

withBool

Constructors and accessors

data Series

pairs

foldable

(.:)

(.:?)

(.!=)

object

Parsing

json

json'