MARC::File::MiJ(3pm)

πŸ“¦
version 0.04 Β· 4 versions
, in debian bookworm, ubuntu noble

πŸ’– 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 πŸ•ŠοΈ)


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