recordData> as L<PICA XML|http://format.gbv.de/pica/xml> format and
returns L<PICA JSON|http://format.gbv.de/pica/json> structure as also implemented by
L<Catmandu::Importer::PICA>.
No validation is
1940-5758"}' | catmandu convert JSON to YAML --fix 'search_sru(issn,"http://services.dnb.de/sru/zdb")'
$ echo '{"issn":"dnb.iss = 1164-5563"}' | catmandu convert JSON to YAML --fix 'search_sru(issn,
mandu::Importer::SRU::Parser::mods;
use Carp qw<carp>;
use Catmandu::Importer::MODS;
use Cpanel::JSON::XS;
use Moo;
our $VERSION = '0.430';
sub parse {
my ($self, $record) = @_;
my $xml =
$mods->get_identifier->{_body};
my $mods_record
= Cpanel::JSON::XS->new->utf8->decode($mods->as_json());
return {_id => $id, record => $mods_record->{mods}};
}
re