Search the web
Sign In
New User? Sign Up
ydn-dotnet · CLOSED: Yahoo! .NET Developer Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Read JSON?   Message List  
Reply | Forward Message #156 of 263 |
Re: Read JSON?

--- 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.







Wed Apr 9, 2008 10:37 pm

docbliny
Online Now Online Now
Send Email Send Email

Forward
Message #156 of 263 |
Expand Messages Author Sort by Date

Hello all I am new at C#. In javaScript, I can do this: var myObject = eval('(' + myJSONtext + ')') Then use the myObject as obejct. There is also supported...
Jeff liu
astro_boy_r
Offline Send Email
Apr 9, 2008
1:26 am

... 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...
docbliny
Online Now Send Email
Apr 9, 2008
10:38 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help