wwRestProcess::oJsonService

Instance of the wwJsonService object that's handling the request so that you can control request behaviors for the current request.

From here you can also access THIS.oJsonService.oSerializer.

The JsonService instance provides access to several features including:

  • IsRawResponse - Allows you to return a non-JSON response
  • IsDebugMode - Determines if the service is running in debug mode and how it reports errors

Also available as JsonService inside of service methods (as well as Serializer for the wwJsonSerializer instance).

o.oJsonService

See also:

Class wwRestProcess

© West Wind Technologies, 1996-2024 • Updated: 04/22/24
Comment or report problem with topic