TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
sujit gujrathi
1.6k
83
6.1k
Return Json object from WCF
Feb 14 2013 7:47 AM
hi
i
know how to return
json
object, I am stuck with
return Json object
in Specific Format.
like
{
"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 "
}
}
]
}
}
At the time of returning
Json object
from
server side
,
object
should contain Status and Message.
I
am highly Appriciate
your help.
Awaiting your response on the same.
Regards
sujit
Reply
Answers (
0
)
wcf feed one request at a time
Return Json object in specific format from WCF