larsgw / citation.js

Citation.js converts formats like BibTeX, Wikidata JSON and ContentMine JSON to CSL-JSON to convert to other formats like APA, Vancouver and back to BibTeX.
https://citation.js.org/
MIT License
226 stars 30 forks source link

JSON output issues #144

Closed larsgw closed 5 years ago

larsgw commented 6 years ago

For some reason, I thought creating my own JSON serialiser was a good idea. It probably isn't:

The only issue is HTML (and arbitrary dict support) that won't work anymore, but I will have to find a different solution to that, possibly with a replacer function.

larsgw commented 5 years ago

A replacer isn't an option unfortunately. New data types and cases like undefined have been addressed, and so has the abundance of comma's, so I guess this is fine for now. The warning is still included, but less visible due to less logging.