Issue Details (XML | Word | Printable)

Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: jitu
Reporter: jitu
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

Remove JsonParser#iterator() method

Created: 27/Nov/12 09:42 PM   Updated: 03/Dec/12 09:41 PM   Resolved: 03/Dec/12 09:41 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0-pr

Time Tracking:
Not Specified

Participants: jitu

 Description  « Hide

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:

jitu added a comment - 03/Dec/12 09:41 PM

Replaced iterator() method with hasNext()/next() methods.

jitu made changes - 03/Dec/12 09:41 PM
Field Original Value New Value
Status Open [ 1 ] Closed [ 6 ]
Fix Version/s 1.0-pr [ 16133 ]
Resolution Fixed [ 1 ]