fay-simplejson-0.1.1.0: SimpleJSON library for Fay.

Safe HaskellNone
LanguageHaskell98

SimpleJSON

Documentation

toDecoder :: (Value -> a) -> Decoder a Source #

toEncoder :: (a -> Value) -> Encoder a Source #

toJSON :: a -> Encoder a -> Value Source #

decode :: JSONSetter a => Text -> Decoder a -> a Source #

encode :: JSONGetter a => a -> Encoder a -> Text Source #

type KeyRef = (Text, Text) Source #

get :: JSONGetter a => a -> Text -> b Source #

set :: JSONSetter a => a -> Text -> b -> a Source #