jsone icon indicating copy to clipboard operation
jsone copied to clipboard

Erlang JSON library

Results 4 jsone issues
Sort by recently updated
recently updated
newest added

A new option `stream`: > Decode the input in multiple chunks. Instead of a result or error, > `{incomplete, fun()}` is returned. The returned fun takes a single argument >...

Hi! Parsing a document incrementally, feeding the decoder chunks as they arrive as TCP packets over the socket, could speed up the total handling of a request. We're receiving ~2MB...

Consider the following 1> Tuple = {{key, value}, { key2, {key3, [value1, 2,3]}}}. {{key,value},{key2,{key3,[value1,2,3]}}} Produces: 2> jsone:encode(Tuple). ** exception error: bad argument in function jsone_encode:value/4 called as jsone_encode:value({{key,value},{key2,{key3,[value1,2,3]}}}, [],, {encode_opt_v2,false,false,false,...

Is there any plan to add better errors than just `badarg`? It's problematic when trying to encode/decode inside more complex code: ```erlang try complex_code(Binary) % Code that calls jsone:decode somewhere...