gchempaint2json

convert gchempaint files to a JSON representation

gchempaint2json

Convert simple gchempaint files containing just molecules to a JSON representation.

See benzene.json

XML is expected to be an XML string representing a gchempaint document. Returns the JSON representation of the document.