luizperes / simdjson_nodejs

Node.js bindings for the simdjson project: "Parsing gigabytes of JSON per second"
https://arxiv.org/abs/1902.08318
Apache License 2.0
549 stars 25 forks source link

Usage: Get keys without values. #69

Open jcuenod opened 1 year ago

jcuenod commented 1 year ago

I want to read a very large file and conditionally traverse into it. This means that I want to be able to read property keys without parsing the values. Ideally, I'd like to be able to get the type of the values as well. I can't tell whether this is a limitation of simdjson or whether it's a limitation of this wrapper.

luizperes commented 1 year ago

I think this is totally possible, this is more like a feature that is missing in this wrapper. I am adding this as enhancement.