minio / simdjson-go

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

Fix parsing deadlock #57

Closed klauspost closed 2 years ago

klauspost commented 2 years ago

Parser will deadlock if hitting if len(pj.containingScopeOffset) != 0 before returning, since the stream is done, but we return false.

Return status and done status separately.