[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] dkjson 2.4 and 1.3
- From: David Heiko Kolf <david@...>
- Date: Sun, 29 Sep 2013 16:58:44 +0200
Enrico Tassi wrote:
> On Sat, Sep 28, 2013 at 09:45:42PM +0200, David Heiko Kolf wrote:
>> dkjson is a module for encoding and decoding JSON data. It supports UTF-8.
>
> How does it compare to http://www.eharning.us/wiki/luajson/
> and http://www.kyne.com.au/~mark/software/lua-cjson.php
Years ago I started an comparison of JSON modules at
<http://lua-users.org/wiki/JsonModules>. It is quite out of date by now
as I didn't find the time yet to update it.
The purpose of my module was to provide a correct, single file JSON
module written in pure Lua without dependencies. So it should be
possible to use it in contexts where you can use neither JSON modules in
C nor LPeg. (But it is faster when LPeg is available).
A module written in C would be a lot faster, but you need to compile it
first.
I hope I will find the time to update the comparison. I will probably
include a section about encoding and decoding numbers in different
locales, I suspect that my module was not the only one suffering from that.
Best regards,
David Kolf