The RJson package
See included README for some examples. This package uses the Scrap Your Boilerplate With Class approach to generics to implement a reflective JSON serializer and deserializer. Nested record types are automatically converted to corresponding JSON objects and vice versa. In both cases, various aspects of serializing and deserializing can be customized by implementing instances of type classes. Note that only Haskell 98 types can be serialized and deserialized, and that the use of strict constructors will lead to runtime errors with the current implemetation. Apart from the reflective stuff, the package also provides a straightforward Haskell representation of JSON data, together with a unicode-safe parser and a suitable implementation of show. The code hasn't yet been tested for performance; it might be quite slow.
- No changelog available
Properties
| Versions | 0.1, 0.2, 0.3, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7 |
|---|---|
| Dependencies | array, base, bytestring, containers, iconv, mtl, parsec, syb-with-class |
| License | BSD3 |
| Author | Alex Drummond |
| Maintainer | a.d.drummond@gmail.com |
| Stability | experimental |
| Category | Text |
| Uploaded | Sun Feb 22 08:31:27 UTC 2009 by AlexDrummond |
| Distributions | NixOS:0.3.7 |
| Downloads | 2037 total (101 in last 30 days) |
| Status | Docs uploaded by user Build status unknown [no reports yet] |
Modules
- Text
[Index]
Downloads
- RJson-0.3.7.tar.gz [browse] (Cabal source package)
- Package description (included in the package)
Maintainers' corner
For package maintainers and hackage trustees