Issue Details (XML | Word | Printable)

Key: JSON_PROCESSING_SPEC-48
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: jitu
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
json-processing-spec

Add accessor method to consume same type of objects in JsonArray

Created: 25/Jan/13 12:55 AM   Updated: 08/Feb/13 08:01 PM  Due: 07/Feb/13   Resolved: 08/Feb/13 08:01 PM
Component/s: None
Affects Version/s: 1.0-pr
Fix Version/s: 1.0-pfd

Time Tracking:
Not Specified

Tags:
Participants: jitu


 Description  « Hide

Jonathan suggests that API add the following method to consume same type of objects in JsonArray

<T extends JsonValue> List<T> JsonArray#getValuesAs(Class<T>) or
<T extends JsonValue> Iterable<T> JsonArray#getValuesAs(Class<T>)

see the discussion

http://java.net/projects/json-processing-spec/lists/users/archive/2013-01/message/0



No work has yet been logged on this issue.