<div dir="ltr"><div dir="ltr"><div>Hi, <br></div><div><br></div><div>I made my first perl script to convert MARC ALEPHSEQ into JSON. I can import and convert to JSON using myfixes. How I can export into JSON files?</div><div> </div><div>Thanks,</div><div><br></div><div>=================</div><div><br></div><div><div>use Catmandu;</div><div><br></div><div>my $importer = Catmandu->importer('MARC',file => 'input/2records.seq' , type => 'ALEPHSEQ');</div><div>my $fixer    = Catmandu->fixer('fixesCatmandu.txt');</div><div>my $exporter = Catmandu->exporter('JSON');</div><div><br></div><div>$exporter->add_many(</div><div>     $fixer->fix($importer->benchmark)</div><div>);</div></div><div><br></div>=================<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Tiago Murakami</div></div></div>