--- JSON-XS/XS.pm 2008/03/19 02:55:23 1.85 +++ JSON-XS/XS.pm 2008/03/19 13:25:26 1.87 @@ -1113,7 +1113,7 @@ favourably to Storable for small amounts of data. Using a longer test string (roughly 18KB, generated from Yahoo! Locals -search API (http://nanoref.com/yahooapis/mgPdGg): +search API (http://dist.schmorp.de/misc/yahoo.json). module | encode | decode | -----------|------------|------------| @@ -1165,9 +1165,13 @@ has a smaller stack, you should adjust this setting accordingly with the C method. -And last but least, something else could bomb you that I forgot to think -of. In that case, you get to keep the pieces. I am always open for hints, -though... +Something else could bomb you, too, that I forgot to think of. In that +case, you get to keep the pieces. I am always open for hints, though... + +Also keep in mind that JSON::XS might leak contents of your Perl data +structures in its error messages, so when you serialise sensitive +information you might want to make sure that exceptions thrown by JSON::XS +will not end up in front of untrusted eyes. If you are using JSON::XS to return packets to consumption by JavaScript scripts in a browser you should have a look at