Discussion:
Issue 74 in json-template: json data formte with metdata of object
j***@public.gmane.org
2012-08-08 08:47:55 UTC
Permalink
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 74 by pushpend...-***@public.gmane.org: 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.
--
You received this message because you are subscribed to the Google Groups "JSON Template" group.
To post to this group, send email to json-template-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to json-template+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/json-template?hl=en.
j***@public.gmane.org
2012-08-08 08:50:26 UTC
Permalink
Comment #1 on issue 74 by pushpend...-***@public.gmane.org: json data formte with
metdata of object
http://code.google.com/p/json-template/issues/detail?id=74

how to send response above with object metadata
--
You received this message because you are subscribed to the Google Groups "JSON Template" group.
To post to this group, send email to json-template-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to json-template+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/json-template?hl=en.
Loading...