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

Jens Deppe updated GEODE-6506:
------------------------------
    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.  (was: 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}}.)

> 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
>            Priority: Major
>
> 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)

Reply via email to