RJson: A reflective JSON serializer/parser.

[ bsd3, library, text ] [ Propose Tags ]

This package uses the Scrap Your Boilerplate With Class approach to generics to implement a reflective Json serializer and deserializer. Nested record types can be 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.

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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 [details]
License BSD-3-Clause
Author Alex Drummond
Maintainer a.d.drummond@gmail.com
Category Text
Uploaded by AlexDrummond at 2008-01-29T23:56:31Z
Distributions
Reverse Dependencies 4 direct, 1 indirect [details]
Downloads 9522 total (19 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]