lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I wrote a binding for Jansson a while back; would anyone be interested
in having that on the page too?

~Jonathan

On Sat, Aug 28, 2010 at 1:43 PM, David Kolf <kolf@gmx.de> wrote:
> Hi,
>
> I have written a JSON module implemented in pure Lua without
> dependencies to other external libraries. It supports UTF-8.
>
> http://www-users.rwth-aachen.de/David.Kolf/json-lua
>
> The file is called dkjson.lua to avoid conflicts with other JSON modules
> that already exist. It doesn't write any global variables, so you can
> give it any name you want when you use require.
>
> I have put a comparison of different JSON modules for Lua known to me in
> the wiki: http://lua-users.org/wiki/JsonModules
>
> In summary Lua-YAJL appears to be the best, the few disadvantages I
> found should be more or less easy to patch.
>
> For Lua-only modules my version appeared to me to be the best, both
> regarding speed and compatibility to the standard.
>
> Today I learned how to use the LPeg module and in my local test version
> of dkjson I already added optional support for it. The speed up for
> decoding is significant, so I will probably release a version 2.0 soon.
>
> -- David
>
>
>