From 5da18484b9af2406caff5f0daeeb493ead13fc70 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 11 Nov 2017 14:00:49 +0100 Subject: Add JSON-LD test suite --- tests/JSONLDTests/toRdf-0055-in.jsonld | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/JSONLDTests/toRdf-0055-in.jsonld (limited to 'tests/JSONLDTests/toRdf-0055-in.jsonld') diff --git a/tests/JSONLDTests/toRdf-0055-in.jsonld b/tests/JSONLDTests/toRdf-0055-in.jsonld new file mode 100644 index 00000000..ae60d731 --- /dev/null +++ b/tests/JSONLDTests/toRdf-0055-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, + "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, + "myset1": {"@id": "http://example.com/myset1", "@container": "@set" }, + "myset2": {"@id": "http://example.com/myset2", "@container": "@set" }, + "myset3": {"@id": "http://example.com/myset3", "@container": "@set" } + }, + "@id": "http://example.org/id", + "mylist1": [], + "myset1": { "@set": [] }, + "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], + "myset3": [ { "@set": [ "hello", "this" ] }, "will", { "@set": [ "be", "collapsed" ] } ] +} -- cgit v1.2.1