json-processing-spec
  1. json-processing-spec
  2. JSON_PROCESSING_SPEC-48

Add accessor method to consume same type of objects in JsonArray

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-pr
    • Fix Version/s: 1.0-pfd
    • Labels:
      None

      Description

      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

        Activity

        jitu created issue -
        jitu made changes -
        Field Original Value New Value
        Due Date 2013-02-07 00:00:00.0
        jitu made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            jitu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved: