-
-
28 Feb 2022 07:25:12 UTC
- Distribution: Catmandu-MARC
- Module version: 1.28
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (7)
- Testers (38 / 0 / 1)
- Kwalitee
Bus factor: 4- % Coverage
- License: perl_5
- Perl: v5.10.1
- Activity
24 month- Tools
- Download (153.61KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 10 contributors-
Patrick Hochstenbach
-
Carsten Klee
-
Johann Rolschewski
-
Chris Cormack
-
Debabrata Deka
-
Jakob Voss
-
Mohammad S Anwar
-
Nicolas Franck
-
Nicolas Steenlant
-
Robin Sheat
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
Module Install Instructions
To install Catmandu::MARC, copy and paste the appropriate command in to your terminal.
cpanm Catmandu::MARC
perl -MCPAN -e shell install Catmandu::MARC
For more information on module installation, please visit the detailed CPAN module installation guide.