line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package JSON::YAJL; |
2
|
3
|
|
|
3
|
|
12751
|
use strict; |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
173
|
|
3
|
3
|
|
|
3
|
|
16
|
use warnings; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
86
|
|
4
|
3
|
|
|
3
|
|
1789
|
use JSON::YAJL::Generator; |
|
3
|
|
|
|
|
8
|
|
|
3
|
|
|
|
|
90
|
|
5
|
3
|
|
|
3
|
|
1850
|
use JSON::YAJL::Parser; |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
160
|
|
6
|
|
|
|
|
|
|
our $VERSION = '0.10'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
1; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 NAME |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
JSON::YAJL - An interface to the YAJL JSON parsing and generation library |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 SYNOPSIS |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
use JSON::YAJL; |
17
|
|
|
|
|
|
|
# see JSON::YAJL::Generator or JSON::YAJL::Parser |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 DESCRIPTION |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
YAJL is Yet Another JSON Library. YAJL is a small event-driven (SAX-style) JSON |
22
|
|
|
|
|
|
|
parser written in ANSI C, and a small validating JSON generator, by Lloyd |
23
|
|
|
|
|
|
|
Hilaiel. This module is a Perl interface to that library. |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
To find out more about YAJL, please visit http://lloyd.github.com/yajl/ |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
For the generation library, see L and for the |
28
|
|
|
|
|
|
|
parsing library, see L. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
This is a very early release to see how cross-platform the underlying code is. |
31
|
|
|
|
|
|
|
The API may change in future. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 AUTHOR |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Leon Brocard |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 LICENSE |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
This module is free software; you can redistribute it or modify it under the same terms as Perl itself. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 SEE ALSO |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
L, L |