0i)X      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVW(C) 2015 Oleg GrenrusBSD3"Oleg Grenrus <oleg.grenrus@iki.fi>None(+-./3579>N A type to parse XSince: aeson-extra-0.2.2.0A type to parse YZ instance accepts for example: 82015-09-07T08:16:40.807Z 2015-09-07 11:16:40.807 +03:00 Latter format is accepted by aeson staring from version 0.10.0.0.See ihttps://github.com/bos/aeson/blob/4667ef1029a373cf4510f7deca147c357c6d8947/Data/Aeson/Parser/Time.hs#L150Since: aeson-extra-0.2.2.0NCollapsed list, singleton is represented as the value itself in JSON encoding.  > decode "null" :: Maybe (CollapsedList [Int] Int) Just (CollapsedList [])  > decode "42" :: Maybe (CollapsedList [Int] Int) Just (CollapsedList [42])  > decode "[1, 2, 3]" :: Maybe (CollapsedList [Int] Int) Just (CollapsedList [1,2,3])  > encode (CollapsedList ([] :: [Int])) "null"  > encode (CollapsedList ([42] :: [Int])) "42"  > encode (CollapsedList ([1, 2, 3] :: [Int])) "[1,2,3]"Documentation rely on f [ instance behaving like lists'.Singleton value object T > decode "{\"value\": 42 }" :: Maybe (SingObject "value" Int) Just (SingObject 42) E > encode (SingObject 42 :: SingObject "value" Int) "{\"value\":42}"Available with: base >=4.7 /Singleton string encoded and decoded as ifself. 2> encode (SymTag :: SymTag "foobar") "\"foobar\"" :decode "\"foobar\"" :: Maybe (SymTag "foobar") Just SymTag 6decode "\"foobar\"" :: Maybe (SymTag "barfoo") NothingAvailable with: base >=4.7&A wrapper type to parse arbitrary maps m > decode "{\"1\": 1, \"2\": 2}" :: Maybe (M (H.HashMap Int Int)) Just (M {getMap = fromList [(1,1),(2,2)]})Like \, but produces strict ].Since: 0.2.3.0>Parses possibly collapsed array value from the object's field. g > newtype V = V [Int] deriving (Show)  > instance FromJSON V where parseJSON = withObject "V" $ \obj -> V <$> parseCollapsedList obj "value"  > decode "{}" :: Maybe V Just (V [])  > decode "{\"value\": null}" :: Maybe V Just (V [])  > decode "{\"value\": 42}" :: Maybe V Just (V [42])  > decode "{\"value\": [1, 2, 3, 4]}" :: Maybe V Just (V [1,2,3,4])^Run a parsers parser as an aeson parser.8 ^ !"#$%&'()*+,-./0123456P_`\abcdefghijklmnopqrsZtuvwxyz{|}~   +   ^ !"#$%&'()*+,-./0123456      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVTWXYZ[\]^Y_`abcdYefYegYhiYhjYhkYhlYhmYhnYhoYhpYhqYhrYZsYZtYZuYZvYZwYZxYZyYZzYZ{Y|}Y|~Y|Y|Y|Y|Y|Y|Y|Y|Y|Y|Y|Y|Y|Y|aeson_FKyvrnllQjJ1sui8ogjTv6Data.Aeson.ExtraZgetZUgetU CollapsedList SingObjectSymTag ToJSONMap toJSONMap ToJSONKey toJSONKey FromJSONMap parseJSONMap FromJSONKey parseJSONKeyMgetMap encodeStrictparseIntegralJSONKey mkSingObject getSingObjectgetCollapsedListparseCollapsedList $fFromJSONZ $fToJSONZ $fFromJSONU $fToJSONU$fToJSONCollapsedList$fFromJSONCollapsedList$fToJSONSingObject$fFromJSONSingObject$fToJSONSymTag$fFromJSONSymTag $fToJSONM$fToJSONMapMapkv$fToJSONMapHashMapkv$fToJSONKeyInteger$fToJSONKeyInt $fToJSONKey[]$fToJSONKeyText$fToJSONKeyText0 $fFromJSONM$fFromJSONMapMapkv$fFromJSONMapHashMapkv$fFromJSONKeyInteger$fFromJSONKeyInt$fFromJSONKey[]$fFromJSONKeyText$fFromJSONKeyText0$fEqM$fOrdM$fShowM$fReadM $fFunctorM $fFoldableM$fTraversableM $fEqSymTag $fOrdSymTag $fShowSymTag $fReadSymTag $fEnumSymTag$fBoundedSymTag$fEqSingObject$fOrdSingObject$fShowSingObject$fReadSingObject$fFunctorSingObject$fFoldableSingObject$fTraversableSingObject$fEqCollapsedList$fOrdCollapsedList$fShowCollapsedList$fReadCollapsedList$fFunctorCollapsedList$fFoldableCollapsedList$fTraversableCollapsedList$fEqU$fOrdU$fShowU$fReadU$fShowZ$fReadZtime_AXTdBF9VRQoBOqJT6qtmVHData.Time.LocalTime.LocalTime ZonedTimeData.Time.Clock.UTCUTCTimeaeson_6iNza1bKKwb2hPvAs5ZVf4Data.Aeson.Types.ClassFromJSONbaseGHC.Base AlternativeData.Aeson.Encode.ByteStringencodebytes_6elQVSg5cWdFrvRnfxTUrHData.ByteString.Internal ByteStringrunData.Aeson.Parser.Internaljson'jsonData.Aeson.Types.Instances.!=.:fromJSON.=withBoolwithScientific withNumber withArraywithText withObjectgenericParseJSON genericToJSONgToJSONGToJSON gParseJSON GFromJSONtoJSONToJSON parseJSONData.Aeson.Types.InternalobjectSuccessErrorResultObjectArrayNullBoolNumberStringValuefromDotNetTime DotNetTimeaeson_De6zmmq9hjFIldeiQhs0AlData.Aeson.CompatAesonExceptioneitherDecodeStrict'eitherDecodeStrict eitherDecode' eitherDecode decodeStrict' decodeStrictdecode'decode.:?.:!