Text.JSON.Pretty

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 #

pp_null :: Doc #

pp_boolean :: Bool -> Doc #

pp_number :: Bool -> Rational -> Doc #

pp_array :: [JSValue] -> Doc #

pp_string :: String -> Doc #

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

pp_js_string :: JSString -> Doc #

pp_js_object :: JSObject JSValue -> Doc #

module Text.PrettyPrint.HughesPJ