Nmap Development mailing list archives

json library


From: Toni Ruottu <toni.ruottu () iki fi>
Date: Wed, 29 Jun 2011 01:41:05 +0300

I am trying to use the json library to interact with a server that
uses json-rpc. The server expects me ot pass an empty argument list,
i.e. "[]". My problem is that json.generate({}) results in "{}", and
the server gives me an error for sending an object instead of an
array. Is this something we should fix in the json library, or should
I just come up with some kind of a hack?

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


Current thread: