davisp / eep0018 forked from pboy/eep0018

This module strives to prepare an EEP0018 implemenation (for Erlang <-> json interaction)

This URL has Read+Write access

eep0018 / README
100644 33 lines (21 sloc) 0.983 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
This module strives to prepare an EEP0018 implemenation. It implements most of the
functionality described there, with some additional features.
 
YAJL
====
 
The parsing engine that drives behind that module is YAJL, see http://lloydforge.org/projects/yajl/.
The source tree contains a copy of that library, currently at version 0.4.0.
 
Differences to EEP 18
=======================
 
EEP 18's json_to_term function defines parsing of JSON objects. As CouchDB
needs a JSON parser that is able to parse JSON values this implementation adds
this functionality.
 
Implemenation Status
====================
 
The current development is done on OS/X 10.5. Other OSes might need a tuned
Makefile.
 
Critical Discussion
===================
 
For a critical discussion of JSON <-> Erlang interaction see here:
 
http://fullof.bs/prototype-eep-18-considered-harmful-the-problems-with-erlang-to-json-term-translation#more-402
 
and
 
http://sc.tri-bit.com/outgoing/scjson%20parser%20halp.html