packages feed

aeson-qq 0.7.1 → 0.7.2

raw patch · 2 files changed

+14/−6 lines, 2 filesdep −aeson-qqdep ~aesondep ~haskell-src-metaPVP ok

version bump matches the API change (PVP)

Dependencies removed: aeson-qq

Dependency ranges changed: aeson, haskell-src-meta

API changes (from Hackage documentation)

Files

aeson-qq.cabal view
@@ -1,5 +1,5 @@ name:             aeson-qq-version:          0.7.1+version:          0.7.2 synopsis:         JSON quasiquoter for Haskell description:      @aeson-qq@ provides a JSON quasiquoter for Haskell.                   .@@ -49,7 +49,7 @@   ghc-options:       -Wall   hs-source-dirs:-      test+      src, test   main-is:       Spec.hs   other-modules:@@ -57,6 +57,12 @@       Data.Aeson.QQSpec   build-depends:       base >= 4.6 && < 5-    , aeson-qq+    , text+    , vector+    , aeson+    , parsec+    , template-haskell+    , haskell-src-meta+     , aeson     , hspec
src/Data/JSON/QQ.hs view
@@ -15,23 +15,25 @@ import Language.Haskell.Meta.Parse  parsedJson :: String -> Either ParseError JsonValue-parsedJson txt = parse jpValue "txt" txt+parsedJson = parse (jpValue <* eof) "txt"  ------- -- Internal representation  data JsonValue =-  JsonNull+    JsonNull   | JsonString String   | JsonNumber Bool Rational   | JsonObject [(HashKey,JsonValue)]   | JsonArray [JsonValue]   | JsonBool Bool   | JsonCode Exp+  deriving (Eq, Show)  data HashKey =-  HashVarKey String+    HashVarKey String   | HashStringKey String+  deriving (Eq, Show)  type JsonParser = Parser JsonValue