The following example shows JSON output. Notice how string values are surrounded by quotes, numerical values have no quotes, multivalued elements are surrounded by brackets, and references to repository items are URLs to the item referenced. Note that multivalued elements will be URLs also, but in this example, the abcArray has been expanded.

{
 "myClass": "class atg.rest.processor.MockObject",
 "size": 10,
 "abcArray":{
 "type": int,
 "elements": [
 0,
 1,
 2,
 3
 ]},
 "product": "http://localhost/rest/repository/atg/commerce/catalog/ProductCatalog/product/prod12345",
}
 
loading table of contents...