Skip to content

Commit

Permalink
Using the right jsx api (2.8.0).
Browse files Browse the repository at this point in the history
  • Loading branch information
nrdufour committed May 22, 2016
1 parent 212c1e0 commit e4a4b03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/normalize
Expand Up @@ -13,7 +13,7 @@ main(Args) ->
parse_json_to_ntriples(JsonFile) ->
{ok, Doc} = file:read_file(JsonFile),

JsonItem = jsx:json_to_term(Doc),
JsonItem = jsx:decode(Doc),

NormalizedJson = jsonld_normalize:do_it(JsonItem),

Expand Down
2 changes: 1 addition & 1 deletion src/urdf_j2t.erl
Expand Up @@ -19,7 +19,7 @@

convert(Doc) ->
% decode the binary json into eep0018
JsonItem = jsx:json_to_term(Doc),
JsonItem = jsx:decode(Doc),

% create the jsonld processor initial state
DefaultContext = jsonld_context:create_default(),
Expand Down

0 comments on commit e4a4b03

Please sign in to comment.