aeson-0.3.2.11: Fast JSON parsing and encoding

Portabilityportable
Stabilityexperimental
MaintainerBryan O'Sullivan <bos@mailrank.com>

Data.Aeson.Encode

Description

Efficiently serialize a JSON value as a lazy ByteString, encoded as UTF-8.

Synopsis

Documentation

fromValue :: Value -> BuilderSource

Encode a JSON value to a Builder.

encode :: ToJSON a => a -> ByteStringSource

Efficiently serialize a JSON value as a lazy ByteString.