- Name: perl-JSON-Parse
- Version: 0.620.0
- Release: 1.mga9
- Epoch:
- Group: Development/Perl
- License: GPLv1+ or Artistic
- Url: https://metacpan.org/release/JSON-Parse
- Summary: Tokenize a string containing JSON
- Architecture: x86_64
- Size: 216495
- Distribution: Mageia
- Vendor: Mageia.Org
- Packager: tv <tv>
Description:
A module for parsing JSON. (JSON means "JavaScript Object Notation" and it
is specified in the /RFC 7159 manpage.)
JSON::Parse offers the function the /parse_json manpage, which takes a
string containing JSON, and returns an equivalent Perl structure. It also
offers validation of JSON via the /valid_json manpage, which returns true
or false depending on whether the JSON is correct or not, and the
/assert_valid_json manpage, which produces a descriptive fatal error if the
JSON is invalid. A function the /json_file_to_perl manpage reads JSON from
a file, and there is a safer version of the /parse_json manpage called the
/parse_json_safe manpage which doesn't throw exceptions.
For special cases of parsing, there are also methods the /new manpage and
the /run manpage, which create a JSON parsing object and run it on text.
See the /METHODS manpage.
- OptFlags: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables
- Cookie: localhost 1658070492
- Buildhost: localhost