addObjectParam
addObjectParam(obj: Object; cls: Class);
The addObjectParam method of the JadeRestRequest class serializes an object and adds that serialized object to the body of the HTTP request.
The value of the dataFormat property determines the format into which the object is serialized, as follows.
-
DataFormat_JSON serializes the object into Microsoft JSON
-
DataFormat_JSONN serializes the object into NewtonSoft JSON
-
DataFormat_XML serializes the object into XML
2020.0.01 and higher