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

        jitu created issue -
        jitu made changes -
        Field Original Value New Value
        Assignee jitu [ jitu ]
        Fix Version/s 1.0-pfd [ 16271 ]
        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.
        jitu made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: