PICA::Writer::JSON - PICA JSON serializer
Writes PICA JSON, newline delimited by default. See PICA::Writer::Base for synopsis and basic configuration. In addition the configuration field json can be used to set an instance of JSON::PP, JSON, or JSON::XS to be used for encoding. Otherwise, additional fields can be passed to the constructor of JSON::PP, like this:
json
PICA::Writer->new( pretty => 1 )
The counterpart of this module is PICA::Parser::JSON.
To install PICA::Data, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PICA::Data
CPAN shell
perl -MCPAN -e shell install PICA::Data
For more information on module installation, please visit the detailed CPAN module installation guide.