Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: MVC
How to convert String in Json object.
Posted 31-May-12 3:58am

1 solution

Rate this: bad
good
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):
http://james.newtonking.com/projects/json/help/[^]
  Permalink  
Comments
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 BillWoodruff 309
1 Sergey Alexandrovich Kryukov 290
2 George Jonsson 274
3 CPallini 255
4 Gihan Liyanage 205
0 OriginalGriff 4,895
1 CPallini 4,010
2 Sergey Alexandrovich Kryukov 3,514
3 George Jonsson 2,826
4 Gihan Liyanage 2,386


Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 31 May 2012
Copyright © CodeProject, 1999-2014
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