From 788f2790125af40e4ffab75cc3963f4442524e2e Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 30 Apr 2021 00:58:47 +0100 Subject: Implement shared_ptr support Uses somewhat dirty global map for keeping shared_ptr objects by key, needs fix --- test/fixtures/json/shared_ptr1.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/fixtures/json/shared_ptr1.json (limited to 'test/fixtures/json/shared_ptr1.json') 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" + } +} -- cgit v1.2.3