Skip to content

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

Notifications You must be signed in to change notification settings

Damienkatz/eep0018

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eep0018

Now available as a NIF.

Compiling

$ make

Assuming rebar works for you that should build everything. Yay.

Testing

$ make check

Hopefully the tests 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> json:decode(<<"{\"foo\": true}">>).
{ok,{[{<<"foo">>,true}]}}
2> json:encode([true, 1.2, null]).
{ok,<<"[true,1.2,null]">>}

Yeah. It's that easy.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • C 75.0%
  • Erlang 21.2%
  • Perl 3.8%