hi ,
i know how to return json object from WCF, I am stuck with return Json object in Specific Format like.
At the time of sending response from server site, Json object should contain Message and Status.
{
"Result": {
"status": "1",
"message": "message according to status",
"JSArray": [
{
"JSCity": {
"city_id": "23",
"city_short_name": "CY",
"city_long_name": "Cypress "
}
},
{
"JSCity": {
"city_id": "62",
"city_short_name": "DB",
"city_long_name": "Dublin"
}
},
{
"JSCity": {
"city_id": "48",
"city_short_name": "FJ",
"city_long_name": "Fort Jones"
}
},
{
"JSState": {
"city_id": "45",
"city_short_name": "ML",
"city_long_name": "Malibu "
}
}
]
}
}
Highly appriciate your help.
Awaiting your response on the same.
Regards
sujit