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

JsonObject#getIntValue() javadoc says it would return null

    Details

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

      Description

      JsonObject#getIntValue() javadoc says it would return null if there is no mapping. It should throw NPE if there is no mapping. Similarly, getStringValue() should throw NPE if there is no mapping.

        Activity

        Hide
        jitu added a comment -

        Resolving the issue as indicated in the description.

        Show
        jitu added a comment - Resolving the issue as indicated in the description.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: