Issue 74 in json-template: json data formte with metdata of object

27 views
Skip to first unread message

json-t...@googlecode.com

unread,
Aug 8, 2012, 4:47:55 AM8/8/12
to json-t...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 74 by pushpend...@gmail.com: json data formte with metdata of
object
http://code.google.com/p/json-template/issues/detail?id=74

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.


json-t...@googlecode.com

unread,
Aug 8, 2012, 4:50:26 AM8/8/12
to json-t...@googlegroups.com

Comment #1 on issue 74 by pushpend...@gmail.com: json data formte with
how to send response above with object metadata

Reply all
Reply to author
Forward
0 new messages