daiaformat.pl - Simple DAIA parser/converter as CGI and command line client
You can pass either an URL which will be queried, a string of serialized DAIA. The serialization format (JSON or XML) can be specified or it will get guessed. You can use this as a proxy to convert serialization or just show the result in HTML - in this case you can also validate DAIA/XML against the XML Schema.
daiaformat.pl input.xml out=json # convert to DAIA/JSON (default) daiaformat.pl input.json out=xml # convert to DAIA/XML
To install DAIA, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DAIA
CPAN shell
perl -MCPAN -e shell install DAIA
For more information on module installation, please visit the detailed CPAN module installation guide.