On Tue, Jan 18, 2011 at 08:01:53AM -0500, Galen Charlton wrote:
> Hi,
> 
> On Mon, Jan 17, 2011 at 9:30 PM, Dueber, William <dueb...@umich.edu> wrote:
> > Note that as of this point,  the marc-in-json spec goes as high as the
> > Record object. A set of records could be represented by, say, the obvious
> > JSON-array of Record objects (which may necessitate a JSON pull-parser if
> > you’ve got a bunch of them) or using some sort of End-of-Record delimiter —
> > I’m a fan of eliminating optional-whitespace newlines from the JSON and
> > putting one JSON object on each line (“newline-delimited JSON”) for
> > easy-peasy processing.
> 
> I'll make MARC::Batch support both.  Newline-delimited JSON has the
> virtue of simplicity, but isn't correct, dagnabbit!  Fortunately,
> JSON::XS can fake a pull parser well enough for our purposes.

IMO this belongs in a separate module, not in MARC::Batch or
MARC::Record.  Small pieces, loosely joined!

Paul.

-- 
Paul Hoffman <nkui...@nkuitse.com>

Reply via email to