My Application is in Asp.Net MVC3 coded in C#. This is what my requirement is. I want an object which is in the following format.This object should be achieved when I deseri
I think the JavaScriptSerializer does not create a dynamic object.
So you should define the class first:
class MyObj { public int arg1 {get;set;} public int arg2 {get;set;} }
And deserialize that instead of object:
object
serializer.Deserialize(str);
Not testet, please try.