Open
Description
A forward slash in JSON key like this:
{
"@context": {
"@version": 1.1,
"a/b": "https://a"
}
}
is treated as bad syntax: jsonld.SyntaxError: Invalid JSON-LD syntax; term in form of IRI must expand to definition.
However, forward slash is perfectly valid in JSON.
Where does this syntax error come from?
{
"@context": {
"@version": 1.1,
"a_b": "https://a"
}
}
is OK.
Metadata
Metadata
Assignees
Labels
No labels