AttoJson 0.5.1 → 0.5.2
raw patch · 2 files changed
+4/−39 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Text.JSON.AttoJSON: instance (JSON a) => JSON (Map ByteString a)
- Text.JSON.AttoJSON: instance (JSON a) => JSON (Map String a)
- Text.JSON.AttoJSON: instance (JSON a) => JSON [(ByteString, a)]
- Text.JSON.AttoJSON: instance (JSON a) => JSON [(String, a)]
- Text.JSON.AttoJSON: instance (JSON a) => JSON [a]
- Text.JSON.AttoJSON: instance Eq JSValue
- Text.JSON.AttoJSON: instance JSON ()
- Text.JSON.AttoJSON: instance JSON Bool
- Text.JSON.AttoJSON: instance JSON ByteString
- Text.JSON.AttoJSON: instance JSON Double
- Text.JSON.AttoJSON: instance JSON Int
- Text.JSON.AttoJSON: instance JSON Integer
- Text.JSON.AttoJSON: instance JSON JSValue
- Text.JSON.AttoJSON: instance JSON String
- Text.JSON.AttoJSON: instance Show JSValue
+ Text.JSON.AttoJSON: instance [overlap ok] (JSON a) => JSON (Map ByteString a)
+ Text.JSON.AttoJSON: instance [overlap ok] (JSON a) => JSON (Map String a)
+ Text.JSON.AttoJSON: instance [overlap ok] (JSON a) => JSON [(ByteString, a)]
+ Text.JSON.AttoJSON: instance [overlap ok] (JSON a) => JSON [(String, a)]
+ Text.JSON.AttoJSON: instance [overlap ok] (JSON a) => JSON [a]
+ Text.JSON.AttoJSON: instance [overlap ok] Eq JSValue
+ Text.JSON.AttoJSON: instance [overlap ok] JSON ()
+ Text.JSON.AttoJSON: instance [overlap ok] JSON Bool
+ Text.JSON.AttoJSON: instance [overlap ok] JSON ByteString
+ Text.JSON.AttoJSON: instance [overlap ok] JSON Double
+ Text.JSON.AttoJSON: instance [overlap ok] JSON Int
+ Text.JSON.AttoJSON: instance [overlap ok] JSON Integer
+ Text.JSON.AttoJSON: instance [overlap ok] JSON JSValue
+ Text.JSON.AttoJSON: instance [overlap ok] JSON String
+ Text.JSON.AttoJSON: instance [overlap ok] Show JSValue
Files
- AttoJson.cabal +3/−38
- Text/JSON/AttoJSON.hs +1/−1
AttoJson.cabal view
@@ -1,48 +1,16 @@--- AttoJson.cabal auto-generated by cabal init. For additional--- options, see--- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.--- The name of the package. Name: AttoJson---- The package version. See the Haskell package versioning policy--- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for--- standards guiding when and how versions should be incremented.-Version: 0.5.1---- A short (one-line) description of the package.-Synopsis: Simple lightweight JSON parser based on ByteString+Version: 0.5.2+Synopsis: Simple lightweight JSON parser & generator based on ByteString --- A longer description of the package.-Description: Simple Lightweight JSON parser based on ByteString+Description: Simple Lightweight JSON parser & generator based on ByteString. --- URL for the project homepage or repository. Homepage: http://github.com/konn/AttoJSON---- The license under which the package is released. License: BSD3---- The file containing the license text. License-file: LICENSE---- The package author(s). Author: Hiromi ISHII---- An email address to which users can send suggestions, bug reports,--- and patches. Maintainer: mr_konn _at_ jcom.home.ne.jp---- A copyright notice.--- Copyright: - Category: Text- Build-type: Simple---- Extra files to be distributed with the package, such as examples or--- a README.--- Extra-source-files: ---- Constraint on the version of Cabal needed to build this package. Cabal-version: >=1.6 source-repository head@@ -50,10 +18,7 @@ location: http://github.com/konn/AttoJSON/tree/master Library- -- Modules exported by the library. Exposed-modules: Text.JSON.AttoJSON- - -- Packages needed in order to build this package. Build-depends: containers >=0.1, base >= 4 && < 5, bytestring-show >= 0.1, utf8-string >= 0.1, attoparsec >= 0.8, bytestring >= 0.9, mtl >= 1.0 -- Modules not exported by this package.
Text/JSON/AttoJSON.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE OverloadedStrings, FlexibleInstances, UndecidableInstances, TypeSynonymInstances #-}+{-# LANGUAGE OverloadedStrings, FlexibleInstances, UndecidableInstances, TypeSynonymInstances, OverlappingInstances #-} {-# OPTIONS_GHC -fwarn-unused-imports #-} module Text.JSON.AttoJSON (JSValue (..), getField, getFields, JSON(..), parseJSON, readJSON, showJSON) where import Control.Applicative hiding (many)