Generated JSON-LD and JSON Schema should not contain "/" character #343
Labels
json-generators
JSON generators
outside-dependency
Issues linked to libraries in use out of scope of this work group
When working with generated json-ld context, I came upon a parsing error caused by "/" (slash) character:
jsonld.SyntaxError: Invalid JSON-LD syntax; invalid scoped context.
After replacing the slash with underscore character, the syntax error is gone:
The invalid character causes problems mainly with json-ld processing but since json schema is closely tied to working with context, I think changes should be made for both generators - json schema and json-ld.
The text was updated successfully, but these errors were encountered: