geolexica / isotc211.geolexica.org

ISO/TC 211 online version of the Multi-Lingual Glossary of Terms
https://isotc211.geolexica.org
4 stars 2 forks source link

Generated JSON-LD SKOS has invalid JSON #108

Closed ronaldtse closed 4 years ago

ronaldtse commented 4 years ago

From @ReesePlews :

error when viewing the skos as json ld option in a listing. in Firefox

SyntaxError: JSON.parse: unexpected character at line 22 column 7 of
the JSON data
ronaldtse commented 4 years ago

@skalee could you take a look here? Thanks!

ronaldtse commented 4 years ago

Here's the error, e.g.: https://isotc211.geolexica.org/api/concepts/816.jsonld

image

}],"ger": [{
  "note-id":  1,
  "note": {
    "@language": "de",
    "@type": "skos:note","@value": "notTranslated",}  <=== stray comma
},{