json-builder

Data structure agnostic JSON serialization http://github.com/lpsmith/json-builder

Version on this page:0.3
LTS Haskell 9.10:0.3
Stackage Nightly 2017-10-23:0.3
Latest on Hackage:0.3
BSD3 licensed by Leon P Smith
Maintained by leon@melding-monads.com

Module documentation for 0.3

Most json packages dictate a data structure that corresponds to json values. To serialize other values to json, then that value must be marshalled into the specified structure.

This library avoids this marshalling step, and is thus potentially more efficient when serializing arbitrary data structures. Unfortunately json-builder cannot yet read or process json data, and it's not clear to me yet how pull a similar kind of trick to avoid unnecessary data structures when parsing json data into arbitrary data types.

comments powered byDisqus