Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON-LD 1.1 not supported in playground? #846

Closed
cmahnke opened this issue Oct 17, 2024 · 3 comments
Closed

JSON-LD 1.1 not supported in playground? #846

cmahnke opened this issue Oct 17, 2024 · 3 comments

Comments

@cmahnke
Copy link

cmahnke commented Oct 17, 2024

This is certainly just a wrong error message?

Bildschirmfoto 2024-10-17 um 12 26 47
@davidlehn
Copy link
Member

I suspect the input data has a string version like "@version": "1.1". It needs to be a number, so use "@version": 1.1. See https://www.w3.org/TR/json-ld/#json-ld-1-1-processing-mode and the @version notes in https://www.w3.org/TR/json-ld/#syntax-tokens-and-keywords.

@davidlehn
Copy link
Member

The error message there could be improved. I made an issue for that: digitalbazaar/jsonld.js#559.

@cmahnke
Copy link
Author

cmahnke commented Oct 17, 2024

@davidlehn Thanks, your right. I'm not sure what I should think of this choice of the datatype, but am not up to complain...

@cmahnke cmahnke closed this as completed Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants