Alright, I added a placeholder that we can work on as time permits (not entirely valid; still resisting using the data representation!). <https://github.com/citation-style-language/utilities/blob/master/preview.json>
Just curious: how difficult would it be to add support for JSON import
and export to the Zotero client (using the citeproc-js data model)?Someone could pretty easily write a translator for it, using
Zotero.Cite.System.retrieveItem() in cite.js as a guide for exporting. I
don’t think there’s really much reason to add that to the client by
default, though, since it’d be useful mainly for the people on this
list, and it’s not intended to be an interchange format.
It’s not a direct export, but the CSL Feedback Gadget dumps the JSON
representation of items in the test fixtures it generates.
Frank