Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module contains no namespace conflicts with Prelude, so it can be imported unqualified.
- data JSON
- = JSON_Object !(HashMap Text JSON)
- | JSON_Array !(Vector JSON)
- | JSON_String !Text
- | JSON_Number !Scientific
- | JSON_Bool !Bool
- | JSON_Null
Documentation
A JSON value AST.
Note that this datastructure is identical to "aeson" Value.
Until "aeson" implements the dependency on "json-ast",
you can use unsafeCoerce
to work with it,
thus sidestepping the redundant conversions.