[Mono-dev] System.Json is ready to be replaced
alan.mcgovern at gmail.com
Wed Mar 28 16:38:38 UTC 2012
I wonder if we'd be better off deleting the actual code from our repository
and pulling it directly from the microsoft one via a git submodule. It
should be an easier way to keep things up to date and also simpler to
maintain patches/modifications (should any be required).
On 28 March 2012 13:30, Atsushi Eno <atsushieno at veritas-vos-liberabit.com>wrote:
> As many of you guys already know, Microsoft did a huge ASP.NET source
> release at codeplex[*1]. Since this includes System.Json, I ported this to
> our class libs to replace existing stuff.
> There are only a few concerns.
> - There was some weird test that expects *invalid* JSON syntax.
> I'm totally inclined to kill it, but since this says as if
> .NET allowed such broken JSON (this actually fails with this
> Microsoft implementation), I'd wait for inputs regarding this one
> for a few days. Looks like it was from Miguel [*2]
> - I haven't verified builds other than net_2_0, net_4_0 and net_4_5.
> I have excluded DLR stuff with NET_4_0 so this should build on
> other profiles though.
> - The new dll is binary incompatible. I believe that in general
> Microsoft implementation makes more sense though (lots of explicit
> operators instead of implicit, Save() only on JsonValue, no
> TimeSpan support).
> The new sources are in mcs/class/System.Json-new so the existing
> System.Jsoncan be easily replaced with it.
> [*1] http://aspnetwebstack.**codeplex.com<http://aspnetwebstack.codeplex.com>
> [*2] https://github.com/mono/mono/**blame/master/mcs/class/System.**
> Atsushi Eno
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.**com <Mono-devel-list at lists.ximian.com>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list