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

Copyright | (c) Galois, Inc. 2007-2009
License | BSD3
Maintainer | Sigbjorn Finne <sof@galois.com>
Stability | provisional
Portability | portable
Safe Haskell | Safe
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_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