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

Portability | portable
Stability | provisional
Maintainer | Sigbjorn Finne <sof@galois.com>
Safe Haskell | Safe-Inferred

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_array :: [JSValue] -> Doc Source

pp_string :: String -> Doc Source

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

pp_js_string :: JSString -> Doc Source

pp_js_object :: JSObject JSValue -> Doc Source

module Text.PrettyPrint.HughesPJ