1 | =encoding utf-8 |
|
|
2 | |
|
|
3 | =head1 NAME |
1 | =head1 NAME |
4 | |
2 | |
5 | JSON::XS - JSON serialising/deserialising, done correctly and fast |
3 | JSON::XS - JSON serialising/deserialising, done correctly and fast |
6 | |
4 | |
7 | JSON::XS - 正しくて高速な JSON シリアライザ/デシリアライザ |
5 | JSON::XS - 正しくて高速な JSON シリアライザ/デシリアライザ |
… | |
… | |
86 | |
84 | |
87 | package JSON::XS; |
85 | package JSON::XS; |
88 | |
86 | |
89 | use strict; |
87 | use strict; |
90 | |
88 | |
91 | our $VERSION = '1.5'; |
89 | our $VERSION = '1.52'; |
92 | our @ISA = qw(Exporter); |
90 | our @ISA = qw(Exporter); |
93 | |
91 | |
94 | our @EXPORT = qw(to_json from_json); |
92 | our @EXPORT = qw(to_json from_json); |
95 | |
93 | |
96 | use Exporter; |
94 | use Exporter; |
… | |
… | |
978 | design bugs, but it is still you who will have to deal with it, as major |
976 | design bugs, but it is still you who will have to deal with it, as major |
979 | browser developers care only for features, not about doing security |
977 | browser developers care only for features, not about doing security |
980 | right). |
978 | right). |
981 | |
979 | |
982 | |
980 | |
|
|
981 | =head1 THREADS |
|
|
982 | |
|
|
983 | This module is I<not> guarenteed to be thread safe and there are no |
|
|
984 | plans to change this until Perl gets thread support (as opposed to the |
|
|
985 | horribly slow so-called "threads" which are simply slow and bloated |
|
|
986 | process simulations - use fork, its I<much> faster, cheaper, better). |
|
|
987 | |
|
|
988 | (It might actually work, but you ahve ben warned). |
|
|
989 | |
|
|
990 | |
983 | =head1 BUGS |
991 | =head1 BUGS |
984 | |
992 | |
985 | While the goal of this module is to be correct, that unfortunately does |
993 | While the goal of this module is to be correct, that unfortunately does |
986 | not mean its bug-free, only that I think its design is bug-free. It is |
994 | not mean its bug-free, only that I think its design is bug-free. It is |
987 | still relatively early in its development. If you keep reporting bugs they |
995 | still relatively early in its development. If you keep reporting bugs they |
988 | will be fixed swiftly, though. |
996 | will be fixed swiftly, though. |
|
|
997 | |
|
|
998 | Please refrain from using rt.cpan.org or any other bug reporting |
|
|
999 | service. I put the contact address into my modules for a reason. |
989 | |
1000 | |
990 | =cut |
1001 | =cut |
991 | |
1002 | |
992 | our $true = do { bless \(my $dummy = 1), "JSON::XS::Boolean" }; |
1003 | our $true = do { bless \(my $dummy = 1), "JSON::XS::Boolean" }; |
993 | our $false = do { bless \(my $dummy = 0), "JSON::XS::Boolean" }; |
1004 | our $false = do { bless \(my $dummy = 0), "JSON::XS::Boolean" }; |