SkillAgentSearch skills...

Ejson

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

Install / Use

/learn @benoitc/Ejson
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

NOTICE: This repository is unmaintained

<hr>

#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]">>
View on GitHub
GitHub Stars32
CategoryDevelopment
Updated3y ago
Forks18

Languages

C

Security Score

75/100

Audited on Sep 26, 2022

No findings