You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jens Deppe (JIRA)" <ji...@apache.org> on 2019/03/29 13:32:00 UTC

[jira] [Resolved] (GEODE-6506) Don't return JSONy objects when converting from json to Object arrays

     [ https://issues.apache.org/jira/browse/GEODE-6506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Deppe resolved GEODE-6506.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.9.0

> Don't return JSONy objects when converting from json to Object arrays
> ---------------------------------------------------------------------
>
>                 Key: GEODE-6506
>                 URL: https://issues.apache.org/jira/browse/GEODE-6506
>             Project: Geode
>          Issue Type: Improvement
>          Components: rest (dev)
>            Reporter: Jens Deppe
>            Assignee: Jens Deppe
>            Priority: Major
>             Fix For: 1.9.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)