Skip to content

Commit 59d5631

Browse files
committed
More changes to 0069 to get @json literal frame matching to work.
1 parent cb474a6 commit 59d5631

File tree

3 files changed

+20
-23
lines changed

3 files changed

+20
-23
lines changed

tests/frame/0069-frame.jsonld

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
22
"@context": {
3-
"ex": "http://example.org/vocab#"
3+
"ex": "http://example.org/vocab#",
4+
"ex:info": {"@type": "@json"}
45
},
5-
"ex:info": {}
6+
"http://example.org/vocab#info": {
7+
"@value": {},
8+
"@type": "@json"
9+
}
610
}

tests/frame/0069-in.jsonld

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,10 @@
33
"ex": "http://example.org/vocab#",
44
"ex:info": {"@type": "@json"}
55
},
6-
"@graph": [
7-
{
8-
"@id": "http://example.org/test/#library",
9-
"@type": "ex:Library",
10-
"ex:info": {
11-
"author": "JOHN",
12-
"pages": 200
13-
}
14-
}
15-
]
6+
"@id": "http://example.org/test/#library",
7+
"@type": "ex:Library",
8+
"ex:info": {
9+
"author": "JOHN",
10+
"pages": 200
11+
}
1612
}

tests/frame/0069-out.jsonld

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
{
22
"@context": {
3-
"ex": "http://example.org/vocab#"
3+
"ex": "http://example.org/vocab#",
4+
"ex:info": {"@type": "@json"}
45
},
5-
"@graph": [
6-
{
7-
"@id": "http://example.org/test/#library",
8-
"@type": "ex:Library",
9-
"ex:info": {
10-
"author": "JOHN",
11-
"pages": 200
12-
}
13-
}
14-
]
6+
"@id": "http://example.org/test/#library",
7+
"@type": "ex:Library",
8+
"ex:info": {
9+
"author": "JOHN",
10+
"pages": 200
11+
}
1512
}

0 commit comments

Comments
 (0)