# json representation

**URL:** <https://discourse.citationstyles.org/t/json-representation/683>\
**Category:** CSL Development\
**Created:** [July 10, 2009, 4:40pm UTC](https://discourse.citationstyles.org/t/json-representation/683 "2009-07-10T16:40:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [July 10, 2009, 4:40pm UTC](https://discourse.citationstyles.org/t/json-representation/683/1 "2009-07-10T16:40:57Z")

</div>

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:

[http://wiki.github.com/bdarcus/citeproc-py/data-format](http://wiki.github.com/bdarcus/citeproc-py/data-format)

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.”

Bruce
