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

I am looking for an LTO tape library. Do you have one to spare?
Port details
p5-XML-XML2JSON 0.06 textproc on this many watch lists=0 search for ports that depend on this port
Convert XML into JSON (and back again) using XML::LibXML
Maintained by: 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 : Main Web Site : Distfiles Availability : PortsMon

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

Required To Build:
  1. textproc/p5-XML-LibXML
  2. textproc/p5-YAML-Syck
  3. lang/perl5.14
Required To Run:
  1. textproc/p5-XML-LibXML
  2. textproc/p5-YAML-Syck
  3. lang/perl5.14

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...

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


Configuration Options
===> The following configuration options are available for p5-XML-XML2JSON-0.06:
     JSON=off: Use JSON
     JSON_DWIW=off: Use JSON::DWIW
     JSON_SYCK=on: Use JSON::Syck
     JSON_XS=off: Use JSON::XS
===> Use 'make config' to modify these settings

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

Number of commits found: 7

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
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: 7

Login
User Login
Create account

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

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

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
bugzilla44Jul 25
apache22Jul 24
apache22-event-mpmJul 24
apache22-itk-mpmJul 24
apache22-peruser-mpmJul 24
apache22-worker-mpmJul 24
firefoxJul 23
firefox-develJul 23
firefox-esrJul 23
firefox10Jul 23
firefox15Jul 23
firefox3Jul 23
firefox3-develJul 23
firefox35Jul 23
firefox36Jul 23

11 vulnerabilities affecting 32 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 24407
Broken 179
Deprecated 868
Ignore 514
Forbidden 16
Restricted 263
No CDROM 102
Vulnerable 27
Expired 1
Set to expire 855
Interactive 13
new 24 hours 2
new 48 hours3
new 7 days13
new fortnight44
new month103

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