-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Universal JSON AST datastructure
--   
--   Universal JSON AST datastructure
@package json-ast
@version 0.3.1


-- | This module contains no namespace conflicts with Prelude, so it can be
--   imported unqualified.
module JSONAST

-- | A JSON value AST.
--   
--   Note that this datastructure is identical to "aeson" Value. Until
--   "aeson" implements the dependency on "json-ast", you can use
--   <a>unsafeCoerce</a> to work with it, thus sidestepping the redundant
--   conversions.
data JSON
JSON_Object :: !(HashMap Text JSON) -> JSON
JSON_Array :: !(Vector JSON) -> JSON
JSON_String :: !Text -> JSON
JSON_Number :: !Scientific -> JSON
JSON_Bool :: !Bool -> JSON
JSON_Null :: JSON
instance Data.Data.Data JSONAST.JSON
instance GHC.Show.Show JSONAST.JSON
instance GHC.Read.Read JSONAST.JSON
instance GHC.Classes.Eq JSONAST.JSON
