On Fri, Jul 9, 2010 at 13:05, Marcin Krol <mrk...@gmail.com> wrote: > Hello everyone, > > I have successfully used JSON as serialization protocol between various > clients and servers in 2 projects, incl. Java app talking to Python servers, > so I would like to use JSON in my upcoming C/S project as well: there's > Json.NET, but how viable is using it in IronPython? > > Does anybody here have experience with using JSON in IronPython? > > -- > > Regards, > mk
I've never used JSON.NET, but the standard library json module works fine for me. IronPython 2.6.1 (2.6.10920.0) on .NET 4.0.30319.1 Type "help", "copyright", "credits" or "license" for more information. >>> import json >>> json.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}]) '["foo", {"bar": ["baz", null, 1.0, 2]}]'
_______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com