buger / jsonparser

One of the fastest alternative JSON parser for Go that does not require schema
MIT License
5.46k stars 435 forks source link

Continuing iteration in ArrayEach() #240

Open gabrieleiannetti opened 2 years ago

gabrieleiannetti commented 2 years ago

Hi,

is there any way to continue an iteration in the the ArrayEach block?

The compiler shows error: continue not in for statement

Best, Gabriele

gabrieleiannetti commented 2 years ago

I got around with that so far by using the goto statement...

But this is not a perfect solution, since on variable over jumps the compiler will end up with an error.