Port details on branch 2022Q3 |
- p5-JSON-Parse Read JSON into a Perl variable
- 0.62 devel =0 0.62Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2019-06-30 16:08:07
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/JSON-Parse
- Description:
- JSON::Parse is a module for parsing JSON. (JSON means "JavaScript Object
Notation" and it is specified in "RFC 7159".)
JSON::Parse offers the function "parse_json", which takes a string containing
JSON, and returns an equivalent Perl structure. It also offers validation of
JSON via "valid_json", which returns true or false depending on whether the JSON
is correct or not, and "assert_valid_json", which produces a descriptive fatal
error if the JSON is invalid. A function "json_file_to_perl" reads JSON from a
file, and there is a safer version of "parse_json" called "parse_json_safe"
which doesn't throw exceptions.
For special cases of parsing, there are also methods "new" and "run", which
create a JSON parsing object and run it on text. See "METHODS".
JSON::Parse accepts only UTF-8 as input. See "UTF-8 only" and "Handling of
Unicode".
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-JSON-Parse>0:devel/p5-JSON-Parse
- To install the port:
- cd /usr/ports/devel/p5-JSON-Parse/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-JSON-Parse
- pkg install p5-JSON-Parse
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-JSON-Parse
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1658151347
SHA256 (JSON-Parse-0.62.tar.gz) = 6273180f9392497401ddd6d820706f5aa86c1be88891dd6aab4d906b5cff66d9
SIZE (JSON-Parse-0.62.tar.gz) = 89448
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- japanese/p5-Lingua-JA-Moji
- for Run
-
- finance/gnucash
- japanese/p5-Lingua-JA-Moji
Configuration Options:
- No options to configure
- Options name:
- devel_p5-JSON-Parse
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|