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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16792713#comment-16792713 ] 

ASF subversion and git services commented on GEODE-6506:
--------------------------------------------------------

Commit d8b834457d028b3888d5818df5751e3fe495f3a7 in geode's branch refs/heads/develop from Jens Deppe
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=d8b8344 ]

GEODE-6506: Don't return JSONy objects when converting from json to Object arrays (#3289)



> 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
>          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)