[Mono-dev] System.Json is ready to be replaced

Alan 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:

> Hello,
> 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.**
> Json/Test/System.Json/**JsonValueTest.cs<https://github.com/mono/mono/blame/master/mcs/class/System.Json/Test/System.Json/JsonValueTest.cs>
> Atsushi Eno
> ______________________________**_________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.**com <Mono-devel-list at lists.ximian.com>
> http://lists.ximian.com/**mailman/listinfo/mono-devel-**list<http://lists.ximian.com/mailman/listinfo/mono-devel-list>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120328/6b56c672/attachment.html>

More information about the Mono-devel-list mailing list