Deserializing an Object Result

You can use the JadeRestResponse class deserialize method to deserialize a serialized object or collection.

You will need to provide two parameters to the method, which are the type of the object being deserialized and an ObjectArray into which to put the deserialized object and any references. The first entry in this array will be the deserialized object and then any referenced objects will be inserted after it; for example:

jadeRestResponse.deserialize(Customer, objs);
customer := objs.first.Customer;