Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
type JSONStyle = "JSON" :: NameStyle Source #
The JSONStyle of Named objects can be directly transformed to and from JSON (via Aeson's ToJSON and FromJSON classes). The Named nameOf is not represented in the JSON form; field names are expected to be provided by the Named field name itself. Bi-directional conversions between the JSON style and the UTF8 style is automatic.