[GRLUG] Deserializing JSON in .NET (C#)

Adam Tauno Williams awilliam at whitemice.org
Wed Aug 25 05:56:54 EDT 2010


On Tue, 2010-08-24 at 22:41 -0400, Dave Brondsema wrote:
> I bet you'd look on rosetta code if there were a page for it ;)  I
> started http://rosettacode.org/wiki/JSON

Cool, maybe I'll even contribute my example using Hyena.

> Mike, btw, I'd suggest removing JSON as a language altogether.
> http://rosettacode.org/wiki/Category:JSON  It's really only a data
> structure format, and only has two tasks implemented (not correctly
> either).  I was going to fix them, but can't even come up with a good
> way to do it, since it's just data, not a language.
> Michael Mol wrote:
> > JSON's website has links to several implementations, including nine in C#:
> > http://www.json.org/

Right, but this is part of the issue.  Searching around I find lots of
people complaining about many of the solutions.  I'd rather not spend
the time implementing a solution on each of 9 assemblies [although I
suppose requiring a MIT compatible license might narrow the pool].

> > When I need to work with JSON, I look through those links and find one
> > with an API and license I'm comfortable with.
> > On Tue, Aug 24, 2010 at 8:00 PM, Adam Tauno Williams
> > <awilliam at whitemice.org> wrote:
> >> What is the simplest / easiest way to deserialize JSON in .NET (Mono)?
> >> I asked around at barcamp and none of the .NET guys had really worked
> >> with JSON (!!??).  I've done a trivial deserialization using Hyena.JSON
> >> <http://live.gnome.org/Hyena> but it seems tediously manual.  Is that
> >> just how it is?



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the grlug mailing list