Skip to main content

[json-processing-spec issues] [JIRA] Created: (JSON_PROCESSING_SPEC-27) Remove JsonParser#iterator() method

  • From: "jitu (JIRA)" < >
  • To:
  • Subject: [json-processing-spec issues] [JIRA] Created: (JSON_PROCESSING_SPEC-27) Remove JsonParser#iterator() method
  • Date: Tue, 27 Nov 2012 21:43:12 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated

Remove JsonParser#iterator() method
-----------------------------------

                 Key: JSON_PROCESSING_SPEC-27
                 URL: http://java.net/jira/browse/JSON_PROCESSING_SPEC-27
             Project: json-processing-spec
          Issue Type: Improvement
            Reporter: jitu
            Assignee: jitu


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:
http://java.net/projects/json-processing-spec/lists/users/archive/2012-11/message/63

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[json-processing-spec issues] [JIRA] Created: (JSON_PROCESSING_SPEC-27) Remove JsonParser#iterator() method

jitu (JIRA) 11/27/2012
 
 
Close
loading
Please Confirm
Close