Copyright | (c) Scrive 2011 |
---|---|
License | BSD-style (see the LICENSE file in the distribution) |
Maintainer | mariusz@scrive.com |
Stability | development |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Unifing some structures so they can be serialized to JSValue
Documentation
class ToJSValue a where Source #
Instances
ToJSValue Bool Source # | |
ToJSValue Double Source # | |
ToJSValue Float Source # | |
ToJSValue Int Source # | |
ToJSValue Int8 Source # | |
ToJSValue Int16 Source # | |
ToJSValue Int32 Source # | |
ToJSValue Int64 Source # | |
ToJSValue Integer Source # | |
ToJSValue Word Source # | |
ToJSValue Word8 Source # | |
ToJSValue Word16 Source # | |
ToJSValue Word32 Source # | |
ToJSValue Word64 Source # | |
ToJSValue String Source # | |
ToJSValue JSValue Source # | |
ToJSValue a => ToJSValue [a] Source # | |
Defined in Text.JSON.ToJSValue | |
ToJSValue a => ToJSValue (Maybe a) Source # | |
(ToJSValue a, ToJSValue b) => ToJSValue (a, b) Source # | |
Defined in Text.JSON.ToJSValue | |
ToJSValue a => ToJSValue (Map String a) Source # | |