packages feed

aeson-pretty 0.8.0 → 0.8.1

raw patch · 3 files changed

+6/−1 lines, 3 filesdep +base-compatdep ~basePVP ok

version bump matches the API change (PVP)

Dependencies added: base-compat

Dependency ranges changed: base

API changes (from Hackage documentation)

Files

Data/Aeson/Encode/Pretty.hs view
@@ -69,6 +69,8 @@ import Data.Text.Lazy.Builder.Scientific (formatScientificBuilder) import Data.Text.Lazy.Encoding (encodeUtf8) import qualified Data.Vector as V (toList)+import Prelude ()+import Prelude.Compat   data PState = PState { pLevel     :: Int
README.markdown view
@@ -1,5 +1,7 @@ # Welcome to aeson-pretty +[![Build Status](https://travis-ci.org/informatikr/aeson-pretty.svg?branch=master)](https://travis-ci.org/informatikr/aeson-pretty)+ This is a JSON pretty-printing Haskell library compatible with [aeson](http://hackage.haskell.org/package/aeson) as well as a command-line tool to improve readabilty of streams of JSON data.  The **library** provides a single function `encodePretty`. It is a drop-in replacement for aeson's `encode` function, producing JSON-ByteStrings for human readers.
aeson-pretty.cabal view
@@ -1,5 +1,5 @@ name:           aeson-pretty-version:        0.8.0+version:        0.8.1 license:        BSD3 license-file:   LICENSE category:       Text, Web, JSON, Pretty Printer@@ -42,6 +42,7 @@     build-depends:         aeson >= 0.7,         base >= 4.5,+        base-compat >= 0.9 && < 0.10,         bytestring >= 0.9,         scientific >= 0.3,         vector >= 0.9,