MAPPEDconfiguration by default. However this can be changed by creating a
@Providerwhich can change the default
The example below changes the configuration to use BadgerFish which provides a better representation of an XML document. This representation does not provide the visual clarity that JSON generally provides, and is not generally human readable beyond basic notation. However, as noted that is not the point.
This class specifically handles the Customer object, and maps it to use BadgerFish. Output: