Data structure agnostic JSON serialization


Version on this page:0.3
LTS Haskell 11.22:0.3@rev:1
Stackage Nightly 2018-03-12:0.3
Latest on Hackage:0.3@rev:1

See all snapshots json-builder appears in

BSD-3-Clause licensed by Leon P Smith
Maintained by [email protected]
This version can be pinned in stack with:json-builder-0.3@sha256:4f413a0e3b15913d8020cc2b7a5816450464a8412f4178aa428ee2a337eeff9d,1824

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.