We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi All
I need to create a context that models an array of arrays, and I was wondering how to do it.
Possibility 1: "tags": {"@container": "@list", "@type": "@list" }
@container
@list
@type
{ "@context": { "@version": 1.1, "@vocab": "http://example.org/", "tags": { "@container": "@list", "@type": "@list" } }, "tags": [ ["A", "B", "C"], ["D", "E", "F"], ["G", "H", "I"] ] }
Possibility 2: "tags": {"@container": "@list"}
{ "@context": { "@vocab": "http://example.org/", "tags": {"@container": "@list"} }, "tags": [ ["A", "B", "C"], ["D", "E", "F"], ["G", "H", "I"] ] }
Possibility 3: Other (?)
Any help greatly appreciated
The text was updated successfully, but these errors were encountered:
@melvincarvalho Your Possibility 2 seems to work just fine. That models it as a list of lists. If you'd prefer to model them as a JSON array of JSON arrays, you can use {"@type": "@json"} instead.
{"@type": "@json"}
Sorry, something went wrong.
Related: #428
No branches or pull requests
Hi All
I need to create a context that models an array of arrays, and I was wondering how to do it.
Possibility 1: "tags": {"
@container
": "@list
", "@type
": "@list
" }Possibility 2: "tags": {"
@container
": "@list
"}Possibility 3: Other (?)
Any help greatly appreciated
The text was updated successfully, but these errors were encountered: