devel/p5-JSON-Parse 0.62 DragonFly
Read JSON into a Perl variable
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 81.4 KiB, 206.9 KiB installed
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".
In the other systems
The newest version among them is 0.62, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/p5-JSON-Parse | 0.62 newest | none known | - | [email protected] | - |
| FreeBSD | devel/p5-JSON-Parse | 0.62 newest | none known | - | [email protected] | - |
| NetBSD | converters/p5-JSON-Parse by name | 0.62nb4 newest | none known | - | [email protected] | 2026-07-16 |
| MidnightBSD | devel/p5-JSON-Parse | 0.62 newest | no data | - | [email protected] | - |
| HardenedBSD | devel/p5-JSON-Parse | 0.62 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-JSON-Parse | 0.62 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-JSON-Parse
From DPorts:
cd /usr/dports/devel/p5-JSON-Parse && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.