<command>yaz-marcdump</command> reads MARC records from one or
more files.
It parses each record and supports output in line-format,
- ISO2709, MARCXML, MarcXchange as well as Hex output.
+ ISO2709,
+ <ulink url="&url.marcxml;">MARCXML</ulink>,
+ <ulink url="&url.marc_in_json;">MARC-in-JSON</ulink>,
+ <ulink url="&url.marcxchange;">MarcXchange</ulink>
+ as well as Hex output.
</para>
<para>
- This utility parses records ISO2709(raw MARC) as well as XML
- if that is structured as MARCXML/MarcXchange.
+ This utility parses records ISO2709(raw MARC), line format, MARC-in-JSON
+ format as well as XML if that is structured as MARCXML/MarcXchange.
+ </para>
+ <para>
+ MARC-in-JSON encoding/decoding is supported in YAZ 5.0.5 and later.
</para>
<note>
<para>
<literal>marcxml</literal>, <literal>marc</literal> (ISO2709),
<literal>marcxchange</literal> (ISO25577),
<literal>line</literal> (line mode MARC),
- or <literal>turbomarc</literal> (Turbo MARC).
+ <literal>turbomarc</literal> (Turbo MARC),
+ or <literal>json</literal> (MARC-in-JSON).
</para></listitem>
</varlistentry>
<literal>marcxml</literal>, <literal>marc</literal> (ISO2709),
<literal>marcxchange</literal> (ISO25577),
<literal>line</literal> (line mode MARC),
- or <literal>turbomarc</literal> (Turbo MARC).
+ <literal>turbomarc</literal> (Turbo MARC),
+ or <literal>json</literal> (MARC-in-JSON).
</para></listitem>
</varlistentry>
<varlistentry>
<term>-f <replaceable>from</replaceable></term>
<listitem><para>
- Specify the character set <replaceable>from</replaceable>
+ Specify the character set
of the input MARC record.
Should be used in conjunction with option <literal>-t</literal>.
Refer to the yaz-iconv man page for supported character sets.
<varlistentry>
<term>-t <replaceable>to</replaceable></term>
<listitem><para>
- Specify the character set <replaceable>of</replaceable>
+ Specify the character set
of the output.
Should be used in conjunction with option <literal>-f</literal>.
Refer to the yaz-iconv man page for supported character sets.
<listitem><para>
Writes a chunk of records to a separate file with prefix given,
i.e. splits a record batch into files with only at most
- "chunk" ISO2709 record per file. By default chunk is 1 (one record
+ "chunk" ISO2709 records per file. By default chunk is 1 (one record
per file). See option <literal>-C</literal>.
</para></listitem>
</varlistentry>
<varlistentry>
<term>-p</term>
<listitem><para>
- Makes yaz-marcdump prints record number and input file offset
+ Makes yaz-marcdump print record number and input file offset
of each record read.
</para></listitem>
</varlistentry>
<varlistentry>
<term>-n</term>
<listitem><para>
- MARC output is omitted so that MARC input is only checkecd.
+ MARC output is omitted so that MARC input is only checked.
</para></listitem>
</varlistentry>
<manvolnum>1</manvolnum>
</citerefentry>
</para>
- <para>
- <ulink url="&url.marcxml;">MARCXML</ulink>.
- </para>
- <para>
- <ulink url="&url.marcxchange;">ISO25577</ulink>.
- </para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-sgml-parent-document:nil
-sgml-local-catalogs: nil
-sgml-namecase-general:t
+mode: nxml
+nxml-child-indent: 1
End:
-->