FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
p5-XML-XML2JSON Convert XML into JSON (and back again) using XML::LibXML
0.06_1 textproc on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 14 Jul 2011 06:51:17
Also Listed In: perl5
License: ART10 GPLv1
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.

WWW: http://search.cpan.org/dist/XML-XML2JSON/
SVNWeb : Homepage : PortsMon

To install the port: cd /usr/ports/textproc/p5-XML-XML2JSON/ && make install clean
To add the package: pkg install p5-XML-XML2JSON

PKGNAME: p5-XML-XML2JSON

distinfo:

SHA256 (XML-XML2JSON-0.06.tar.gz) = a4d0d081387533d3b6dff15ee4aebe32534073ef61a6a1cf00f515e1baa3fc7a
SIZE (XML-XML2JSON-0.06.tar.gz) = 24504


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. p5-XML-LibXML>=1.59 : textproc/p5-XML-LibXML
  2. p5-YAML-Syck>=0 : textproc/p5-YAML-Syck
  3. perl5>=5.20<5.21 : lang/perl5.20
Runtime dependencies:
  1. p5-XML-LibXML>=1.59 : textproc/p5-XML-LibXML
  2. p5-YAML-Syck>=0 : textproc/p5-YAML-Syck
  3. perl5>=5.20<5.21 : lang/perl5.20

This port is required by:

for Build for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
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

USES:
perl5

Master Sites:
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/XML/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/XML/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/XML/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/XML/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/XML/
  7. ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/XML/
  8. http://backpan.perl.org/modules/by-module/XML/
  9. http://cpan.metacpan.org/modules/by-module/
  10. http://cpan.metacpan.org/modules/by-module/XML/
  11. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/XML/
  12. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/XML/
  13. http://www.cpan.dk/modules/by-module/XML/
  14. http://www.cpan.org/modules/by-module/XML/

Number of commits found: 10

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
01 Apr 2016 14:25:18
Original commit files touched by this commit  0.06_1
Revision:412349
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
06 Jul 2015 17:46:40
Original commit files touched by this commit  0.06_1
Revision:391450
sunpoet search for other commits by this committer
- Use OPTIONS_MULTI instead of OPTIONS_DEFINE
- Add NO_ARCH
- Convert to new options helper
26 Nov 2014 13:08:38
Original commit files touched by this commit  0.06_1
Revision:373448
mat search for other commits by this committer
Change the way Perl modules are installed, update the default Perl to 5.18.

Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
30 Sep 2013 19:41:57
Original commit files touched by this commit  0.06
Revision:328854
sunpoet search for other commits by this committer
- Support STAGEDIR
20 Sep 2013 23:17:32
Original commit files touched by this commit  0.06
Revision:327773
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc)
25 Aug 2013 16:14:58
Original commit files touched by this commit  0.06
Revision:325358
sunpoet search for other commits by this committer
- Use !${PORT_OPTIONS:Mfoo} instead of empty(PORT_OPTIONS:Mfoo)
21 Aug 2013 14:08:08
Original commit files touched by this commit  0.06
Revision:325134
sunpoet search for other commits by this committer
- Convert to new perl framework
07 Oct 2012 15:25:11
Original commit files touched by this commit  0.06
Revision:305492
sunpoet search for other commits by this committer
- Add LICENSE
- Convert to new options framework
- Fix typo
- Cleanup Makefile header
22 Jan 2012 16:44:05
Original commit files touched by this commit  0.06
sunpoet search for other commits by this committer
- Update to 0.06
- Add BUILD_DEPENDS
- Pet portlint

Changes:        http://search.cpan.org/dist/XML-XML2JSON/Changes
14 Jul 2011 06:50:52
Original commit files touched by this commit  0.05
sunpoet search for other commits by this committer
- Add p5-XML-XML2JSON 0.05

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.

WWW: http://search.cpan.org/dist/XML-XML2JSON/

Number of commits found: 10

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
bind910Sep 28
bind911Sep 28
bind99Sep 28
libresslSep 26
libressl-develSep 26
opensslSep 26
openssl-develSep 26
openssl*Sep 23
openssl-devel*Sep 23
irssi*Sep 22
irssi*Sep 22
firefoxSep 20
firefox*Sep 20
firefox-esrSep 20
firefox-esr*Sep 20

11 vulnerabilities affecting 35 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 26275
Broken 375
Deprecated 218
Ignore 639
Forbidden 0
Restricted 199
No CDROM 83
Vulnerable 61
Expired 14
Set to expire 204
Interactive 0
new 24 hours 10
new 48 hours14
new 7 days34
new fortnight63
new month121

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.