The JSON encoding of WADL XML elements depends on whether the element is:
a "doc" element
an element that is unique within a particular parent element (e.g., "request")
an element that can be repeated within a particular parent element (e.g., "param")
A "doc" element is represented as an array of objects, where each object may contain:
a "@xml:lang" string
a "@title" string
a "value" string
Example:
"doc": [
{
"@xml:lang": "en",
"value": "Granular cell tumor"
},
{
"@xml:lang": "ja",
"value": "顆粒細胞腫"
},
{
"@xml:lang": "fr",
"value": "Tumeur à cellules granuleuses"
}
]