| Issue 74: | json data formte with metdata of object | |
| 1 person starred this issue and may be notified of changes. | Back to list |
how to achieve this output
{
"response": {
"header": { "res-code": "0" },
"res-content": {
"personal-profile": {
"data-set": {
"label": "Your Personal Profile",
"nesting": "true",
"data-item": [
{
"id": "first_name",
"type": "text",
"cardinality": "single",
"label": "First Name",
"value": "Anurag Sinha"
},
{
"id": "photo",
"type": "url/image",
"cardinality": "single",
"label": "Picture",
"value": "{url to get the image from Webapp }"
},
{
"id": "adm_num",
"type": "text",
"cardinality": "single",
"label": "Admission Number",
"value": "{value}"
}
]
}
}
}
}
}
}
using google gson 2.2.2
Please provide any additional information below.
Aug 8, 2012
#1
pushpend...@gmail.com
|