I'm interested in converting my existing bibtex file (generated from Mendeley) into BibJSON format (http://okfnlabs.org/bibjson/), since it would be helpful for me for sharing and other integration purposes. Do you know of any code or script that can take in an existing BibTeX file (*.bib) and create the file in BibJSON format.
[Tex/LaTex] Convert existing BibTeX to BibJSON
bibtex
Best Answer
You can use
pandoc-citeproc
, which is a part of the excellentpandoc
program, to convert your .bib file to a .json file.But I doubt the output will be exactly what you need, because the specs you have linked seem to go beyond what
pandoc
offers.UPDATE 2021: Citeproc is now integrated with Pandoc. Use something like:
pandoc foo.bib -t csljson -o foo.json