--- In ydn-dotnet@yahoogroups.com, "Jeff liu" <astro_boy_r@...> wrote:
> In javaScript, I can do this:
>
> var myObject = eval('(' + myJSONtext + ')')
>
> Then use the myObject as obejct. There is also supported classes in
> Java too.
>
> Does anyone know what should I do in C#?
Are you getting JSON data from somewhere and that is the reason you
need this? Or some other reason? XML is supported my .NET really well,
so if that is an option, just use XML.
However, if you want to use JSON, there are a few options.
http://code.google.com/p/json4csharp/ is one option, but once again,
depending on what you are doing there are other ways. Is this a
WinForms, ASP.NET, Silverlight or some other application?
//Tomi B.