[JSON_PROCESSING_SPEC-27] Remove JsonParser#iterator() method Created: 27/Nov/12 Updated: 03/Dec/12 Resolved: 03/Dec/12
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Remove JsonParser#iterator() method and replace with hasNext() and next(). The problem with iterator is not returning self-contained events. One has to go back forth between iterator and parser objects. One proposal was to use advance() (instead of hasNext()) and getEvent() (instead of next()), but most users preferred hasNext()/next().
Some of the discussion is at:
|Comment by jitu [ 03/Dec/12 ]|
Replaced iterator() method with hasNext()/next() methods.