> From: Code for Libraries [mailto:[log in to unmask]] On
> Behalf Of Bill Dueber
> Sent: 23 April, 2008 10:48
> To: [log in to unmask]
> Subject: Re: [CODE4LIB] MARC::Record::JSON perl and
> javascript modules on Google Code
>
> Right. I keep a "sequence" number for the fields so they can
> be re-ordered if need be, but it just seemed too much of a
> pain (and edge case) to worry about subfield order.
Actually, you don't need to keep a sequence number, any XML
can be transformed into JSON so its round tripable, and since
MARC can to transformed to MARC-XML you can use the same type
of JSON model for representation.
Andy.
|