Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Nested Array Response in Web API using c# Web Services
Yogesh Sharma
Jun 20 2016 1:45 AM
300
Reply
Dear all friends,
if we want to get the response as below, then what kind of code should we conduct ???
[
{
"Manager": "Mahesh Chopra",
"Depart": "ASP.NET",
"Role": "Program Manager",
"Employee": [
{
"Name": "ABC"
},
{
"Name": "xyz"
}
]
}
]
In this scenario we have manager named mahesh which has one department named asp.net, and has some employee's which have worked under manager named mahesh.
So, if i want to get this type of response in web api using asp.net # web services , then what type of code should i conduct ???
Thanks.
Yogesh Sharma
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Xamarin sepate Package for VS except downloading it directly
How to set today's closing balance is tmrw's opening balance