Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype JSONBuilder a = JSONBuilder {
- runJSONBuilder :: a -> Builder
- toJSONViaBuilder :: ToJSON a => a -> ByteString
- toJSONAsBuilder :: ToJSON a => a -> Builder
Documentation
newtype JSONBuilder a Source #
JSON Serializer that makes use of Builder
to do its work.
Should be really fast.
JSONBuilder | |
|
Instances
toJSONViaBuilder :: ToJSON a => a -> ByteString Source #
Serialize a Haskell datatype to a lazy ByteString.