Closed sneumann closed 1 year ago
A light-weight choice could be https://stackoverflow.com/a/22756976/2974851 but note comment on slashes (we have both URLs and InChIs containing slashes ...) https://stackoverflow.com/questions/3020094/how-should-i-escape-strings-in-json/11610833#comment86039244_22756976
Ah, good to know, I checked the crawlers, they do also complain:
Parsing error: Missing ',' or '}
Example:
The second error is a bad escape sequence
in the SMILES string:
With the proper serialisation this can now be closed. Thanks Rene, yours, Steffen
Hi, we got a report from @AlasdairGray that:
A fix probably requires proper encoding of strings in https://github.com/MassBank/MassBank-web/blob/12f119605ac63d1574bffa4b670a46ce9b9ab564/MassBank-Project/MassBank-lib/src/main/java/massbank/Record.java#L663
Yours, Steffen