Nmap Development mailing list archives

Re: CouchDB and MongoDB


From: Patrick Donnelly <batrick () batbytes com>
Date: Sun, 28 Feb 2010 20:10:10 -0500

Hi Martin,

On Wed, Feb 3, 2010 at 4:07 PM, Martin Holst Swende <martin () swende se> wrote:
I have now implemented the following :
- json.lua is heavily reworked (and now according to specs :)) - except
for Unicode collapsing into UTF-8, which is not done. If you have any
good pointers on how to do that it is welcome. There is an issue with js
null vs lua nil (which are different - lua nil is more like javascript
undefined), which forced me to introduce json.NULL - more info about
that is found in the code.

Is there a reason you chose not to use known Lua libraries that handle
JSON (e.g. [1])? I have not looked at your code any so I don't know
the differences. It would suck to replicate effort when polished
libraries exist.

[1] http://luaforge.net/projects/luajson/

-- 
- Patrick Donnelly
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: