Debian Codegraph @

debian/control

raw
1 Source: libjson-parse-perl
2 Maintainer: Debian Perl Group <[email protected]>
3 Uploaders: gregor herrmann <[email protected]>
4 Section: perl
5 Testsuite: autopkgtest-pkg-perl
6 Priority: optional
7 Build-Depends: debhelper-compat (= 13),
8 perl-xs-dev,
9 perl:native
10 Standards-Version: 4.6.1
11 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libjson-parse-perl
12 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libjson-parse-perl.git
13 Homepage: https://metacpan.org/release/JSON-Parse
14 Rules-Requires-Root: no
15
16 Package: libjson-parse-perl
17 Architecture: any
18 Depends: ${misc:Depends},
19 ${perl:Depends},
20 ${shlibs:Depends}
21 Description: module to read JSON into a Perl variable
22 JSON::Parse is a module for parsing JSON.
23 .
24 It offers the function parse_json(), which takes a string containing JSON,
25 and returns an equivalent Perl structure. It also offers validation of JSON
26 via valid_json(), which returns true or false depending on whether the JSON
27 is correct or not, and assert_valid_json(), which produces a descriptive
28 fatal error if the JSON is invalid. A function json_file_to_perl() reads JSON
29 from a file, and there is a safer version of parse_json() called
30 parse_json_safe() which doesn't throw exceptions. For special cases of
31 parsing, there are also methods new() and run(), which create a JSON parsing
32 object and run it on text.
33 .
34 JSON::Parse accepts only UTF-8 as input.