MARC::File::MiJ(3pm)
π MARC::File::MiJ π
okay so bestie, welcome to MARC::File::MiJ β that's the 3pm manual page for it, from the User Contributed Perl Documentation collection. it's giving β¨niche Perl moduleβ¨ and honestly? we're obsessed.
πΈ NAME πΈ
MARC::File::MiJ β read newline-delimited marc-in-json files π
β VERSION β
Version 0.04 π
π¦ SYNOPSIS π¦
Use it by itself, or roll up with MARC::Batch β either way works, queen π
use MARC::Batch;
use MARC::File::MiJ;
my $reader = new MARC::Batch('MiJ', $jsonfilename);
while (my $r = $batch->next) { ... }
# or, use it without MARC::Batch
my $reader = MARC::File::MiJ->in($jsonfilename);
π DESCRIPTION π
So MARC::File::MiJ is a subclass of MARC::File π«Ά and its whole thing β its entire main character energy β is reading MARC records that are encoded as newline-delimited marc-in-json. That format is supported by pymarc / ruby-marc / marc4j, and it's described right here:
http://dilettantes.code4lib.org/blog/2010/09/a-proposal-to-serialize-marc-in-json/
go read the proposal, it's iconic, no cap π
π§ SUBROUTINES/METHODS π§
_next()
The underlying "next" that pulls the next line from the filehandle; π
decode(json)
literally just vibes, the method is named decode(json) β¨
encode
and this one's called encode π«
π AUTHOR π
Bill Dueber, "<dueberb at umich.edu>" π
π BUGS π
Please report any bugs or feature requests to "bug-MARC-File-MiJ at rt.cpan.org", or through the web interface at:
<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MARC-File-MiJ>
I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. so like, the whole thing is a group chat, fr fr π¬
π SUPPORT π
You can find documentation for this module with the perldoc command.
perldoc MARC::File::MiJ
You can also look for information at:
- RT: CPAN's request tracker (report bugs here)
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=MARC-File-MiJ>
- AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/MARC-File-MiJ>
- CPAN Ratings
<http://cpanratings.perl.org/d/MARC-File-MiJ>
- Search CPAN
<http://search.cpan.org/dist/MARC-File-MiJ/>
π ACKNOWLEDGEMENTS π
(section's empty bestie, it's just vibes and silence ποΈ)
π LICENSE AND COPYRIGHT π
Copyright 2013 Bill Dueber.
This software is free software and may be distributed under the same terms as Perl itself.
okay that's the whole page π no notes, ate and left no crumbs β this was perl v5.34.0, dated 2022-06-15, and it's the MARC::File::MiJ(3pm) page. go read some json, bestie, you got this π
β¨
π¦ where this page comes from
- debian bookworm: libmarc-file-mij-perl 0.04-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmarc-file-mij-perl 0.04-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms