The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

MARC::Moose::Formater::Json - Record formater into a Json representation

VERSION

version 1.0.49

DESCRIPTION

The resulting JSON string representing a MARC::Moose::Record conforms to the following schema:

Further details can be found at:

ATTRIBUTES

pretty

A boolean value. If true, the resulting JSON string is prettier.

SYNOPSYS

my $reader = MARC::Moose::Reader::File::Iso2709->new( file => 'marc.iso' );
my $formater = MARC::Moose::Formater::Json->new( pretty => 1);
while ( my $record = $reader->read() ) {
print $formater->format($record);
}

SEE ALSO

AUTHOR

Frédéric Demians <f.demians@tamil.fr>

COPYRIGHT AND LICENSE

This software is copyright (c) 2024 by Frédéric Demians.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.