Provided by: libcatmandu-marc-perl_1.281-1_all bug

NAME

       Catmandu::Fix::marc_in_json - transform a Catmandu MARC record into MARC-in-JSON

SYNOPSIS

          # Transform a Catmandu MARC 'record' into a MARC-in-JSON record
          marc_in_json()

          # Reverse, transform a MARC-in-JSON record into a Catmandu MARC record
          marc_in_json(reverse:1)

DESCRIPTION

       Convert the MARC record into MARC-in-JSON format

METHODS

   marc_in_json( [OPT1:VAL, OPT2: VAL])
       Convert a Catmandu MARC record into the MARC-in-JSON format.

OPTIONS

   reverse: 0|1
       Convert a MARC-in-JSON record back into the Catmandu MARC format.

INLINE

       This Fix can be used inline in a Perl script:

           use Catmandu::Fix::marc_in_json as => 'marc_in_json';

           my $data = { record => [...] };

           $data = marc_in_json($data);

SEE ALSO

       Catmandu::Fix