--- JSON-XS/XS.pm 2008/03/19 02:52:15 1.84 +++ JSON-XS/XS.pm 2008/03/19 13:25:26 1.87 @@ -940,7 +940,8 @@ Pure Perl, which should be 100% compatible with JSON::XS, just a bit slower. -You cannot really lose by using this module. +You cannot really lose by using this module, especially as it tries very +hard to work even with ancient Perl versions, while JSON::XS does not. =item JSON 1.07 @@ -1112,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 | -----------|------------|------------| @@ -1164,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