waargonaut-0.8.0.1: JSON wrangling

Safe HaskellNone
LanguageHaskell2010

Waargonaut.Encode.Builder

Description

Builder structures to help with turning Json into a textual encoding.

Synopsis

Documentation

jTypesBuilder :: (IsString t, Monoid b) => Builder t b -> (Builder t b -> WS -> b) -> JType WS Json -> b Source #

A general builder function for working with JType values.

waargonautBuilder :: (IsString t, Monoid b) => (Builder t b -> WS -> b) -> Builder t b -> Json -> b Source #

Using the given whitespace builder, create a builder for a given Json value.