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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.9.0
    • rest (dev)
    • 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

              jens.deppe Jens Deppe
              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