added decode function to jsx.erl
This commit is contained in:
parent
a3ab6ca9fc
commit
152c2ec75f
1 changed files with 3 additions and 1 deletions
|
@ -24,8 +24,10 @@
|
|||
-module(jsx).
|
||||
-author("alisdairsullivan@yahoo.ca").
|
||||
|
||||
-export([decoder/0, decoder/1, decoder/2, detect_encoding/4]).
|
||||
-export([decode/1, decoder/0, decoder/1, decoder/2, detect_encoding/4]).
|
||||
|
||||
decode(JSON) ->
|
||||
(jsx:decoder())(JSON).
|
||||
|
||||
decoder() ->
|
||||
decoder([]).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue