Parse error creating Erlang JSON string -
i'm having problem escaping string i'm trying utilize represent json in erlang. i'm not sure why particular sequence giving parser trouble. have string in basho bench configuration file.
'{ "stats":"completed", "times":[ { "time":"2014-10-29t23:40:46.558z" } ] }'
i getting error:
23:37:18.521 [error] failed parse config file server/http.config.erl: {29,erl_scan,{illegal,atom}}
it seems maybe issue numbers in string don't how escape them. thoughts?
you provided insufficient info anyway, server/http.config.erl
not json. erlang term, error erlang parser. whole text provided parsed atom because of '
delimiter atoms.
json string parsing erlang
No comments:
Post a Comment