The following example shows JSON output. Notice how string values are surrounded by quotes, numerical values have no quotes, multivalve elements are surrounded by brackets, and references to repository items are URLs to the item referenced. Note that multivalve 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"
}

Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices