jsonparser
jsonparser copied to clipboard
ArrayEach can not return error
https://github.com/buger/jsonparser/blob/bf1c66bbce23153d89b23f8960071a680dbef54b/parser.go#L943-L957 how to indicate that cb return an error for ArrayEach, like ObjectEach do. https://github.com/buger/jsonparser/blob/bf1c66bbce23153d89b23f8960071a680dbef54b/parser.go#L1053-L1060
I had the same issue, willing to fail fast on some JSON parsing, I've put together a PR #214 feel free to comment and review