You can configure the Oracle ATG Web Commerce platform REST Web Services interface to return only the string representation of specific properties. This can be useful when you need to set the return depth to a level that returns certain deeply-nested properties but you do not want extensive, unnecessary detail for other properties. See Return Depth. Suppress property expansion to return only the string representation.

The following example output shows the string representation of a timestamp value.

"creationDate": "2008-10-21 16:52:00.0"

The following example output shows a timestamp value that has been expanded.

"creationDate": {
  "class": "class java.sql.Timestamp",
  "date": 21,
  "day": 2,
  "hours": 16,
  "minutes": 52,
  "month": 9,
  "nanos": 0,
  "seconds": 0,
  "time": 1224622320000,
  "timezoneOffset": 240,
  "year": 108
},

See instructions for suppressing property expansion in the following sections: