Argo.Encoder
type Encoder = ReaderT Config (WriterT Builder Identity) Source #
data Config Source #
Constructors
Fields
Defined in Argo.Encoder
Methods
(==) :: Config -> Config -> Bool #
(/=) :: Config -> Config -> Bool #
showsPrec :: Int -> Config -> ShowS #
show :: Config -> String #
showList :: [Config] -> ShowS #
data Indent Source #
(==) :: Indent -> Indent -> Bool #
(/=) :: Indent -> Indent -> Bool #
showsPrec :: Int -> Indent -> ShowS #
show :: Indent -> String #
showList :: [Indent] -> ShowS #
hasIndent :: Config -> Bool Source #
increaseLevel :: Config -> Config Source #
list :: Encoder () -> Encoder () -> Encoder () -> (a -> Encoder ()) -> [a] -> Encoder () Source #
makeIndent :: Config -> Builder Source #