Click here to Skip to main content
11,488,877 members (78,881 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: MVC
How to convert String in Json object.
Posted 31-May-12 4:58am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If you want to work with JSON in .NET, I would recommend using JSON.NET since it is the fastest way of converting to and from JSON. Here is a link to the help file with how to read and write JSON (you would want to write JSON):[^]
ravijain03 at 31-May-12 10:09am
Possible to give answer for string to json object conversion in mvc
Tim Corey at 31-May-12 10:54am
What do you mean by MVC? The solution I gave will work with C#, which is the code behind for ASP.NET MVC. If you are using MVC with a different language, it would obviously be different but you need to let me know which language you are using.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 489
1 OriginalGriff 328
2 Sascha Lefèvre 135
3 _Asif_ 125
4 _duDE_ 121
0 Sergey Alexandrovich Kryukov 9,308
1 OriginalGriff 8,375
2 Sascha Lefèvre 3,334
3 Maciej Los 2,996
4 Richard Deeming 2,370

Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 31 May 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100