- From: Joel Gustafson via GitHub <sysbot+gh@w3.org>
- Date: Sun, 10 May 2020 20:47:20 +0000
- To: public-shex-dev@w3.org
One upcoming feature of JSON-LD 1.1 is [native JSON literals](https://w3c.github.io/json-ld-syntax/#the-rdf-json-datatype), using
```json
{
"@type": "@json",
"@value": {
"foo": "bar",
"baz": [1, 2, 3]
}
}
```
to represent
```
"{\"baz\":[1,2,3],\"foo\":\"bar\"}"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON>
```
So you could just add a context property
```
"appinfo": {
"@id": "http://www.w3.org/ns/shex#appinfo",
"@type": "@json"
}
```
--
GitHub Notification of comment by joeltg
Please view or discuss this issue at https://github.com/shexSpec/shape-map/issues/18#issuecomment-626387325 using your GitHub account
Received on Sunday, 10 May 2020 20:47:22 UTC