summaryrefslogtreecommitdiff
path: root/test/fixtures/json
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixtures/json')
-rw-r--r--test/fixtures/json/shared_ptr1.json11
-rw-r--r--test/fixtures/json/shared_ptr2.json8
2 files changed, 19 insertions, 0 deletions
diff --git a/test/fixtures/json/shared_ptr1.json b/test/fixtures/json/shared_ptr1.json
new file mode 100644
index 0000000..bb18e33
--- /dev/null
+++ b/test/fixtures/json/shared_ptr1.json
@@ -0,0 +1,11 @@
+{
+ "@typeid": "SharedTestObject",
+ "sptr": {
+ "@typeid": "SubObject",
+ "@id": "someid"
+ },
+ "ssptr": {
+ "@typeid": "SubObject",
+ "@id": "some other id"
+ }
+}
diff --git a/test/fixtures/json/shared_ptr2.json b/test/fixtures/json/shared_ptr2.json
new file mode 100644
index 0000000..4115493
--- /dev/null
+++ b/test/fixtures/json/shared_ptr2.json
@@ -0,0 +1,8 @@
+{
+ "@typeid": "SharedTestObject",
+ "sptr": {
+ "@typeid": "SubObject",
+ "@id": "someid"
+ },
+ "ssptr": "someid"
+}