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. Regards, Galen -- Galen Charlton gmcha...@gmail.com