diff options
author | David Robillard <d@drobilla.net> | 2017-11-11 14:00:49 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-05-25 11:15:50 +0200 |
commit | 5da18484b9af2406caff5f0daeeb493ead13fc70 (patch) | |
tree | af0d9f683d434c828d14b10b81f33355b1a74fd2 /tests/JSONLDTests/toRdf-0044-in.jsonld | |
parent | d14838cf7217d27e499908fe324ebf4cd7863ed8 (diff) | |
download | serd-5da18484b9af2406caff5f0daeeb493ead13fc70.tar.gz serd-5da18484b9af2406caff5f0daeeb493ead13fc70.tar.bz2 serd-5da18484b9af2406caff5f0daeeb493ead13fc70.zip |
Add JSON-LD test suite
Diffstat (limited to 'tests/JSONLDTests/toRdf-0044-in.jsonld')
-rw-r--r-- | tests/JSONLDTests/toRdf-0044-in.jsonld | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/JSONLDTests/toRdf-0044-in.jsonld b/tests/JSONLDTests/toRdf-0044-in.jsonld new file mode 100644 index 00000000..8499bfa0 --- /dev/null +++ b/tests/JSONLDTests/toRdf-0044-in.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, + "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, + "myset2": {"@id": "http://example.com/myset2", "@container": "@set"}, + "myset3": {"@id": "http://example.com/myset3", "@container": "@set"} + }, + "@id": "http://example.org/id", + "mylist1": { "@list": [ ] }, + "mylist2": "one item", + "myset2": { "@set": [ ] }, + "myset3": [ "v1" ], + "http://example.org/list1": { "@list": [ null ] }, + "http://example.org/list2": { "@list": [ {"@value": null} ] }, + "http://example.org/set1": { "@set": [ ] }, + "http://example.org/set2": { "@set": [ null ] }, + "http://example.org/set3": [ ], + "http://example.org/set4": [ null ], + "http://example.org/set5": "one item", + "http://example.org/property": { "@list": "one item" } +} |