ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/JSON-XS/XS.pm
(Generate patch)

Comparing JSON-XS/XS.pm (file contents):
Revision 1.63 by root, Thu Oct 11 23:07:43 2007 UTC vs.
Revision 1.66 by root, Sun Oct 14 20:02:57 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines