Skip to content
forked from benoitc/ejson

EJSON - decode and encode JSON into/from Erlang terms (from CouchDB project)

License

Notifications You must be signed in to change notification settings

marcparadise/ejson

This branch is 4 commits ahead of, 6 commits behind benoitc/ejson:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2a78a82 · May 23, 2012

History

14 Commits
May 4, 2011
May 25, 2011
Jun 29, 2011
May 4, 2011
May 4, 2011
May 4, 2011
May 23, 2012
May 4, 2011
May 4, 2011
May 4, 2011
Jun 29, 2011
May 23, 2012

Repository files navigation

#ejson

decode and encode JSON into/from Erlang terms using Elang NIF library if available.. This the module used in CouchDB project ported a standalone module with rebar support.

##Build

$ make

##Testing

$ make check

All tests should pass

Usage

Put this app in your Erlang path.

$ erl -pa ebin/
Erlang R13B04 (erts-5.7.5) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.7.5  (abort with ^G)
1> ejson:decode(<<"{\"foo\": true}">>).
{[{<<"foo">>,true}]}
2> ejson:encode([true, 1.2, null]).
<<"[true,1.2,null]">>

About

EJSON - decode and encode JSON into/from Erlang terms (from CouchDB project)

Resources

License

Stars

Watchers

Forks

Packages

No packages published