Port details on branch 2022Q3 |
- p5-XML-XML2JSON Convert XML into JSON (and back again) using XML::LibXML
- 0.06_1 textproc =0 0.06_1Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2011-07-14 06:51:17
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/XML-XML2JSON
- Description:
- XML::XML2JSON is a Perl module to convert XML to JSON (and JSON to XML) using
the following rules from Google (http://code.google.com/apis/gdata/json.html):
Basic:
- The feed is represented as a JSON object; each nested element or attribute
is represented as a name/value property of the object.
- Attributes are converted to String properties.
- Child elements are converted to Object properties.
- Elements that may appear more than once are converted to Array properties.
- Text values of tags are converted to $t properties.
Namespace:
- If an element has a namespace alias, the alias and element are concatenated
using "$". For example, ns:element becomes ns$element.
XML:
- XML version and encoding attributes are converted to version and encoding
attributes of the root element, respectively.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-XML-XML2JSON>0:textproc/p5-XML-XML2JSON
- To install the port:
- cd /usr/ports/textproc/p5-XML-XML2JSON/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/p5-XML-XML2JSON
- pkg install p5-XML-XML2JSON
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-XML-XML2JSON
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (XML-XML2JSON-0.06.tar.gz) = a4d0d081387533d3b6dff15ee4aebe32534073ef61a6a1cf00f515e1baa3fc7a
SIZE (XML-XML2JSON-0.06.tar.gz) = 24504
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:
-
- p5-XML-LibXML>=1.59 : textproc/p5-XML-LibXML
- p5-YAML-Syck>=0 : textproc/p5-YAML-Syck
- perl5>=5.32.r0<5.33 : lang/perl5.32
- p5-YAML-Syck>=0 : textproc/p5-YAML-Syck
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-XML-LibXML>=1.59 : textproc/p5-XML-LibXML
- p5-YAML-Syck>=0 : textproc/p5-YAML-Syck
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- biology/p5-Bio-Phylo
- for Run
-
- biology/p5-Bio-Phylo
Configuration Options:
- ===> The following configuration options are available for p5-XML-XML2JSON-0.06_1:
====> Options available for the multi JSON_BACKEND: you have to choose at least one of them
JSON_SYCK=on: Use JSON::Syck
JSON_XS=off: Use JSON::XS
JSON=off: Use JSON
JSON_DWIW=off: Use JSON::DWIW
===> Use 'make config' to modify these settings
- Options name:
- textproc_p5-XML-XML2JSON
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|