1 | Revision history for Perl extension JSON::XS |
1 | Revision history for Perl extension JSON::XS |
|
|
2 | |
|
|
3 | 1.4 |
|
|
4 | - add convert_blessed setting. |
|
|
5 | - encode did not catch all blessed objects, encoding their |
|
|
6 | contents in most cases. This has been fixed by introducing |
|
|
7 | the allow_blessed setting. |
|
|
8 | - added filter_json_object and filter_json_single_key_object |
|
|
9 | settings that specify a callback to be called when |
|
|
10 | json objects are encountered. |
|
|
11 | - assume that most object keys are simple ascii words and |
|
|
12 | optimise this case, penalising the general case. This can |
|
|
13 | speed up decoding by 30% in typical cases and gives |
|
|
14 | a smaller and faster perl hash. |
|
|
15 | - implemented simpleminded, optional resource size checking |
|
|
16 | in decode_json. |
|
|
17 | - remove objToJson/jsonToObj aliases, as the next version |
|
|
18 | of JSON will not have them either. |
|
|
19 | - bit the bullet and converted the very simple json object |
|
|
20 | into a more complex one. |
|
|
21 | - work around a bug where perl wrongly claims an integer |
|
|
22 | is not an integer. |
|
|
23 | - unbundle JSON::XS::Boolean into own pm file so Storable |
|
|
24 | and similar modules can resolve the overloading when thawing. |
2 | |
25 | |
3 | 1.3 Sun Jun 24 01:55:02 CEST 2007 |
26 | 1.3 Sun Jun 24 01:55:02 CEST 2007 |
4 | - make JSON::XS::true and false special overloaded objects |
27 | - make JSON::XS::true and false special overloaded objects |
5 | and return those instead of 1 and 0 for those json atoms |
28 | and return those instead of 1 and 0 for those json atoms |
6 | (JSON::PP compatibility is NOT achieved yet). |
29 | (JSON::PP compatibility is NOT achieved yet). |
7 | - add JSON::XS::is_bool predicate to test for those special |
30 | - add JSON::XS::is_bool predicate to test for those special |
8 | values. |
31 | values. |
9 | - add a reference to |
32 | - add a reference to |
10 | http://jpsykes.com/47/practical-csrf-and-json-security. |
33 | http://jpsykes.com/47/practical-csrf-and-json-security. |
11 | - removed require 5.8.8 again, it just not very expert-friendly, |
34 | - removed require 5.8.8 again, it is just not very expert-friendly. |
12 | and try to be more compatible with slightly older versions, |
35 | Also try to be more compatible with slightly older versions, |
13 | which are not recommended (because they are buggy). |
36 | which are not recommended (because they are buggy). |
14 | |
37 | |
15 | 1.24 Mon Jun 11 05:40:49 CEST 2007 |
38 | 1.24 Mon Jun 11 05:40:49 CEST 2007 |
16 | - added informative section on JSON-as-YAML. |
39 | - added informative section on JSON-as-YAML. |
17 | - get rid of some c99-isms again. |
40 | - get rid of some c99-isms again. |