acceptFromJSON
Receives parameters from the HTTP assuming that they’re passed as a JSON stream.
Format 1
void acceptFromJSON( params ) |
Format 2
void acceptFromJSON( params, hasDummyRoot ) |
Syntax rules
2. hasDummyRoot is an alphanumeric data item or literal hosting a boolean value (e.g. "0", "1", "true", "false", "yes", "no", "on" or "off"). If the boolean value is TRUE, then the top level item of Record-Definition is ignored and will not be retrieved from the JSON stream. This parameter can be NULL, in such case, FALSE is assumed.
General rules
1. params elements name matches the name of the parameter passed by the HTTP client.