My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 74: json data formte with metdata of object
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by pushpend...@gmail.com, Aug 8, 2012
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
how to send response above with object metadata

Powered by Google Project Hosting