Metadata revisions for buffer-builder-aeson-0.2.0.4

Package maintainers and Hackage trustees are allowed to edit certain bits of package metadata after a release, without uploading a new tarball. Note that the tarball itself is never changed, just the metadata that is stored separately. For more information about metadata revisions, please refer to the Hackage Metadata Revisions FAQ.

No. Time User Changes
-r1 Mon Nov 2 22:16:28 UTC 2015 afriesen
  • Changed description

    A very fast BufferBuilder-based JSON encoder for Aeson.
    
    The whole library is a a single orphan instance for Aeson.Value.
    
    > import Data.Aeson (object, (.=), Value (..))
    > import Data.BufferBuilder.Json (encodeJson)
    > import Data.BufferBuilder.Aeson ()
    > import qualified Data.ByteString as BS
    >
    > stuff :: Value
    > stuff = Array
    >     [ object
    >         [ "name" .= ("eggs" :: String)
    >         , "price" .= (3.141592 :: Double)
    >         ]
    >     , object
    >         [ "name" .= ("cheese" :: String)
    >         , "price" .= (0.57721 :: Double)
    >         ]
    >     ]
    >
    > main :: IO ()
    > main = do
    >     BS.putStrLn $ encodeJson stuff

-r0 Mon Nov 2 22:13:26 UTC 2015 afriesen