Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-6506

Don't return JSONy objects when converting from json to Object arrays

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.0
    • Component/s: rest (dev)
    • Labels:
      None

      Description

      When calling functions using the Dev REST API, for some corner cases such as passing no params, empty objects or empty arrays we can receive some JSON specific object as the argument to our function. For example an empty ObjectNode() or, previously, an empty JSONObject(). In these cases we should only be passing in standard Java types such as Object or Object[] as appropriate.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jens.deppe Jens Deppe
                Reporter:
                jens.deppe Jens Deppe
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h