When I wrote "collection of objects" I was thinking about Java objects. What 
about this?

Any function arguments are passed in the request body in JSON format. The 
content of the arguments can depend on how the function is defined. Each 
function argument has to be written as a JSON object (sourrounded by { }) and 
using "@ type" to declare its type. "@ value" can be used to specify a scalar 
value. Inner JSON objects ({ }) or JSON collections ([ ]) are not accepted.
Collections of Java objects cannot be specified as parameters in JSON format. 
So if a function receives a collection of objects as one of its arguments (e.g. 
List), it cannot be called using <%=vars.product_name%> REST API.


[ Full content available at: https://github.com/apache/geode/pull/4154 ]
This message was relayed via gitbox.apache.org for 
[email protected]

Reply via email to