json representation

Just some more notes …

So as I’ve been working again on the citeproc-py code, and fighting
about BibTeX and microdata in HTML 5 (partially successfully; th
bibtex thing has been dropped), I’ve been thinking again about a JSON
input format. I’ve jotted down some beginning ideas here:


Basic idea is to have the input JSON and CSL internal models be fully
consistent, in part to ease processing (you can use a CSL value as a
data key), and also to have it easy to implement for developers.

It’s basically what Frank has done with the test suite, with one (I
think) difference: I just use “given” and “family” keys for names (not
“primary” and “secondary”), with an optional “display-as-sort” key who
value is by default “false.”