ATG Platform REST Web Services supports JSON and XML input and output formats. JSON is the default format.
To change the default format, change the defaultOutputCustomizer
and defaultInputCustomizer
properties of the /atg/rest/Configuration
component so they point to the appropriate component.
For output, the property value should be set either to
/atg/rest/output/JSONOutputCustomizer
or
/atg/rest/output/XMLOutputCustomizer
For input, the property should point either to
/atg/rest/input/JSONInputCustomizer
or
/atg/rest/input/XMLInputCustomizer