parsePaginationEnvelope

parsePaginationEnvelope(envelope: Class;
                        objs:     ObjectArray input): 
                                          JadePaginationEnvelopeIF updating;

The parsePaginationEnvelope method of the JadeRestResponse class attempts to deserialize the JSON string in the data property to an object of the class specified in the envelope parameter. The class specified in the envelope parameter must implement the JadePaginationEnvelopeIF interface and if successful, the ObjectArray specified in the objs parameter is populated with the deserialized object and any references to it.

The first object (that is, an object of the class specified in the envelope parameter) is also returned from the method and the nextPage and hasMorePages properties of the JadeRestResponse object are set according to the implementation of the class specified in the envelope parameter for the JadePaginationEnvelopeIF interface getNextPage method.

2022.0.01 and higher