fieldmuseum / EMu-xml-to-json

A script to convert EMu XML exports to JSON
Other
2 stars 0 forks source link

Update JSON output with new format at the beginning #1

Closed magpiedin closed 2 years ago

peteherbst commented 3 years ago

Flatten the JSON, at the beginning, removing the table -> tuple structure.

JSON should start something like this:

{ "emuModule": "ecatalogue", "data": [] ...

magpiedin commented 3 years ago

I think this does it -- https://github.com/fieldmuseum/EMu-xml-to-json/commit/40103ad9f84123ef36fa2bd3ebf69f54d4fbd9e6#diff-94b4b7bcf2bfdcc282dbf785bcc8640954a18b7d2356bfc9e0bce4b34ef83780