1 | =head1 NAME |
1 | =head1 NAME |
2 | |
2 | |
|
|
3 | JSON::XS - JSON serialising/deserialising, done correctly and fast |
|
|
4 | |
3 | =encoding utf-8 |
5 | =encoding utf-8 |
4 | |
|
|
5 | JSON::XS - JSON serialising/deserialising, done correctly and fast |
|
|
6 | |
6 | |
7 | JSON::XS - 正しくて高速な JSON シリアライザ/デシリアライザ |
7 | JSON::XS - 正しくて高速な JSON シリアライザ/デシリアライザ |
8 | (http://fleur.hio.jp/perldoc/mix/lib/JSON/XS.html) |
8 | (http://fleur.hio.jp/perldoc/mix/lib/JSON/XS.html) |
9 | |
9 | |
10 | =head1 SYNOPSIS |
10 | =head1 SYNOPSIS |
… | |
… | |
1015 | Other unblessed references are generally not allowed and will cause an |
1015 | Other unblessed references are generally not allowed and will cause an |
1016 | exception to be thrown, except for references to the integers C<0> and |
1016 | exception to be thrown, except for references to the integers C<0> and |
1017 | C<1>, which get turned into C<false> and C<true> atoms in JSON. You can |
1017 | C<1>, which get turned into C<false> and C<true> atoms in JSON. You can |
1018 | also use C<JSON::XS::false> and C<JSON::XS::true> to improve readability. |
1018 | also use C<JSON::XS::false> and C<JSON::XS::true> to improve readability. |
1019 | |
1019 | |
1020 | encode_json [\0,JSON::XS::true] # yields [false,true] |
1020 | encode_json [\0, JSON::XS::true] # yields [false,true] |
1021 | |
1021 | |
1022 | =item JSON::XS::true, JSON::XS::false |
1022 | =item JSON::XS::true, JSON::XS::false |
1023 | |
1023 | |
1024 | These special values become JSON true and JSON false values, |
1024 | These special values become JSON true and JSON false values, |
1025 | respectively. You can also use C<\1> and C<\0> directly if you want. |
1025 | respectively. You can also use C<\1> and C<\0> directly if you want. |
… | |
… | |
1342 | |
1342 | |
1343 | |
1343 | |
1344 | =head1 BUGS |
1344 | =head1 BUGS |
1345 | |
1345 | |
1346 | While the goal of this module is to be correct, that unfortunately does |
1346 | While the goal of this module is to be correct, that unfortunately does |
1347 | not mean it's bug-free, only that I think its design is bug-free. It is |
1347 | not mean it's bug-free, only that I think its design is bug-free. If you |
1348 | still relatively early in its development. If you keep reporting bugs they |
1348 | keep reporting bugs they will be fixed swiftly, though. |
1349 | will be fixed swiftly, though. |
|
|
1350 | |
1349 | |
1351 | Please refrain from using rt.cpan.org or any other bug reporting |
1350 | Please refrain from using rt.cpan.org or any other bug reporting |
1352 | service. I put the contact address into my modules for a reason. |
1351 | service. I put the contact address into my modules for a reason. |
1353 | |
1352 | |
1354 | =cut |
1353 | =cut |