Text.JSON.Pretty

json-0.11: Support for serialising Haskell to and from JSON

Safe Haskell | Safe-Inferred
Language | Haskell2010

Text.JSON.Pretty

Description

Display JSON values using pretty printing combinators.

# Documentation

pp_value :: JSValue -> Doc #

pp_null :: Doc #

pp_boolean :: Bool -> Doc #

pp_number :: Bool -> Rational -> Doc #

pp_js_string :: JSString -> Doc #

pp_array :: [JSValue] -> Doc #

pp_js_object :: JSObject JSValue -> Doc #

pp_string :: String -> Doc #

pp_object :: [(String, JSValue)] -> Doc #

module Text.PrettyPrint.HughesPJ