AttoJson-0.5: Simple lightweight JSON parser based on ByteString
Text.JSON.AttoJSON
data JSValue Source
Constructors
Fields
Instances
getField :: JSON a => ByteString -> JSValue -> Maybe aSource
getFields :: JSON a => [ByteString] -> JSValue -> Maybe aSource
class JSON a whereSource
Methods
fromJSON :: JSValue -> Maybe aSource
toJSON :: a -> JSValueSource
parseJSON :: ByteString -> Either String JSValueSource
readJSON :: ByteString -> Maybe JSValueSource
showJSON :: JSValue -> ByteStringSource