preSerializeHook

preSerializeHook(client:   JadeRestClient io;
                 request:  JadeRestRequest io;
                 response: JadeRestResponse io);

The preSerializeHook method of the JadeRestProxyHook class provides access to the JadeRestClient, JadeRestRequest, and JadeRestResponse objects that are used to execute REST requests when using proxy classes generated by the OpenAPI import wizard. (For details, see Maintaining OpenAPI Objects, in Chapter 16 of the JADE Development Environment User's Guide.)

The preSerializeHook method is called by the generated code of JadeRestResponse classes immediately before any object parameters are serialized (for example, for PUT or POST requests).

2020.0.01 and higher