-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Defined JSON data types and function for renders JSON to string. -- -- 1 @package json2-types @version 0.1 -- | Base data types and function for escape JSON string and renders -- Json to String. module Data.JSON2.Types data Json JString :: String -> Json JNumber :: !Rational -> Json JBool :: !Bool -> Json JNull :: Json JArray :: [Json] -> Json JObject :: (Map String Json) -> Json type Jsons = [Json] -- | Renders Json to String. toString :: Json -> String -- | Escape JSON string. escJString :: String -> String instance Typeable Json instance Eq Json instance Ord Json instance Show Json instance Read Json