Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
How do I return Key Value pair Json from MVC controller
pradeep kumar
7y
264
1
Reply
I want to return this type of Json from MVC controller
[
{
"key": "iPhone",
"values": [
{
"axis": "Battery Life",
"value": 0.22
},
{
"axis": "Brand",
"value": 0.28
},
{
"axis": "Contract Cost",
"value": 0.29
},
{
"axis": "Design And Quality",
"value": 0.17
},
{
"axis": "Have Internet Connectivity",
"value": 0.22
},
{
"axis": "Large Screen",
"value": 0.02
},
{
"axis": "Price Of Device",
"value": 0.21
},
{
"axis": "To Be A Smartphone",
"value": 0.50
}
]]
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Write an example for static class in csharp?
how to retrieve image and text from database in web applica