aeson 0.7.0.5 → 0.7.0.6
raw patch · 2 files changed
+4/−4 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Data/Aeson/Parser/Internal.hs +3/−3
- aeson.cabal +1/−1
Data/Aeson/Parser/Internal.hs view
@@ -43,7 +43,7 @@ import Control.Applicative ((*>), (<$>), (<*), liftA2, pure) import Data.Aeson.Types (Result(..), Value(..))-import Data.Attoparsec.Char8 (Parser, char, endOfInput, rational,+import Data.Attoparsec.Char8 (Parser, char, endOfInput, scientific, skipSpace, string) import Data.Bits ((.|.), shiftL) import Data.ByteString (ByteString)@@ -173,7 +173,7 @@ C_t -> string "true" *> pure (Bool True) C_n -> string "null" *> pure Null _ | w >= 48 && w <= 57 || w == 45- -> Number <$> rational+ -> Number <$> scientific | otherwise -> fail "not a valid json value" -- | Strict version of 'value'. See also 'json''.@@ -191,7 +191,7 @@ C_n -> string "null" *> pure Null _ | w >= 48 && w <= 57 || w == 45 -> do- !n <- rational+ !n <- scientific return (Number n) | otherwise -> fail "not a valid json value"
aeson.cabal view
@@ -1,5 +1,5 @@ name: aeson-version: 0.7.0.5+version: 0.7.0.6 license: BSD3 license-file: LICENSE category: Text, Web, JSON