I've spent about four hours now between the blog, google groups and the
.vsi kit. All I want to do is access a passed json string inside my
app.
I have string strJson = "{\"name\":\"abc\",\"id\":\"GVMZGFJXVg\"}";
How can I reference the name and id properties inside my c# code?
I presume I need to use AjaxPro.JavaScriptDeserializer.Deserialize
I have created a struct inpstuff
{
public string name;
public string id;
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info/
Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
The open source project is now located at
http://www.codeplex.com/Wiki/View.aspx?ProjectName=AjaxPro
-~----------~----~----~----~------~----~------~--~---