www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Fast operations with JSON line separated values



ASDF is a cache oriented string based JSON representation.
It allows to easily iterate over JSON arrays/objects multiple 
times without parsing them.
ASDF does not parse numbers (they are represented as strings) and 
does not decode escape sequence in JSON strings.
ASDF values can be removed by setting `deleted` bit on.

For line separated JSON values see `parseJsonByLine` function.
This function accepts a range of chunks instead of a range of 
lines.



ASDF is fast. It can be really helpful if you have gigabytes of 
JSON line separated values.



See ASDF Specification [2].



  - Reading JSON line separated values and parsing them to ASDF - 
250+ MB per second (SSD).
  - Writing ASDF range to JSON line separated values - 300+ MB per 
second (SSD).

[1] https://github.com/tamediadigital/asdf
[2] 
https://github.com/tamediadigital/asdf/blob/master/SPECIFICATION.md

Best regards,
Ilya
May 06 2016