minio / simdjson-go

Golang port of simdjson: parsing gigabytes of JSON per second
Apache License 2.0
1.8k stars 85 forks source link

Removing array elements #71

Closed dlouwers closed 1 year ago

dlouwers commented 2 years ago

Hi,

We are currently looking at this library to achieve the following:

Is this possible with this library? I have not found methods to nil an object or array element so far.

Best,

Dirk

klauspost commented 2 years ago

In-place Value Replacement is fairly limited.

You would have to add a "NOP" tape operator to be able to delete values completely.

klauspost commented 2 years ago

@dlouwers Have a look at https://github.com/minio/simdjson-go/pull/72

harshavardhana commented 1 year ago

Closing as fixed via #72