diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-04-30 00:58:47 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-11-07 16:41:37 +0000 |
commit | 788f2790125af40e4ffab75cc3963f4442524e2e (patch) | |
tree | 86d93860dd04265b7e511a1da4ab1c9a55f6cc27 /test/fixtures/json/shared_ptr1.json | |
parent | Extend factory map to include make_shared (diff) | |
download | ilt-788f2790125af40e4ffab75cc3963f4442524e2e.tar.bz2 ilt-788f2790125af40e4ffab75cc3963f4442524e2e.tar.xz ilt-788f2790125af40e4ffab75cc3963f4442524e2e.zip |
Implement shared_ptr support
Uses somewhat dirty global map for keeping shared_ptr objects by key, needs fix
Diffstat (limited to 'test/fixtures/json/shared_ptr1.json')
-rw-r--r-- | test/fixtures/json/shared_ptr1.json | 11 |
1 files changed, 11 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" + } +} |