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

Safe Haskell | Safe-Inferred
Language | Haskell98

Text.JSON.Pretty

Description

Display JSON values using pretty printing combinators.

# Documentation

pp_value :: JSValue -> Doc Source #

pp_null :: Doc Source #

pp_boolean :: Bool -> Doc Source #

pp_number :: Bool -> Rational -> Doc Source #

pp_js_string :: JSString -> Doc Source #

pp_array :: [JSValue] -> Doc Source #

pp_js_object :: JSObject JSValue -> Doc Source #

pp_string :: String -> Doc Source #

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

module Text.PrettyPrint.HughesPJ

module Text.PrettyPrint.HughesPJ