Hi,
for my current project I need to store two references to a json object in one parent object.
In my version the objects are nested more deeply, but if the following would work somehow, I could make my scenario work, too:
$$objectinner = ^jsoncreate(permanent object)
$$objectinner.id = objectinner
$$objectouter = ^jsoncreate(permanent object)
$$objectouter.innera = $$objectinner
$$objectouter.innerb = $$objectinner
output ^jsonwrite($$objectouter)
which produces the following output:
Output { "innera": { "id": "objectinner"}, “innerb”: jo-0}