Issue Details (XML | Word | Printable)

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

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

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

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

jitu made changes - 04/Feb/13 05:48 AM
Field Original Value New Value
Due Date 2013-02-07 00:00:00.0
jitu added a comment - 08/Feb/13 08:01 PM

Added an accessor method that provides a list view of the specified type

jitu made changes - 08/Feb/13 08:01 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]