Text.JSON.ReadP

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.ReadP

Description

Parse JSON values using the ReadP combinators.

# Documentation

p_value :: ReadP JSValue

p_null :: ReadP ()

p_boolean :: ReadP Bool

p_array :: ReadP [JSValue]

p_string :: ReadP String

p_object :: ReadP [(String, JSValue)]

p_number :: ReadP Rational

p_js_string :: ReadP JSString

p_js_object :: ReadP (JSObject JSValue)

module Text.ParserCombinators.ReadP