[Mono-bugs] [Bug 571365] Incorrect JSON Responses

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jan 18 13:03:48 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=571365

http://bugzilla.novell.com/show_bug.cgi?id=571365#c3


--- Comment #3 from Marek Habersack <mhabersack at novell.com> 2010-01-18 19:03:45 CET ---
(In reply to comment #2)
> Thanks for the fix. Just a note, wouldn't it be easier to simply use a
> anonimous object in there?
> 
> return new { d = result }
> 
> Thats how I did it and I believe the code is kept simpler to read/understand
> that way. Not that it matters to the end result anyway.
It would, but anonymous object weren't supported by gmcs back at the time when
system.web.extensions was coded, and I've just reverted part of the patch -
and, as you've said, it doesn't really matter :)

> 
> (In reply to comment #1)
> > Fixed in r149756 (trunk), r149757 (2.6 branch) and r149758 (2.4 branch)

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list