Written by

Question Jack Rack · Oct 11

How can I write a custom JSON adapter to serialize hierarchical IRIS objects with circular references?

The built-in %JSONExport() fails with circular references in deeply nested objects. How can I write a custom serializer that supports circular detection and reference tracking?

Comments

Steven Hobbs · Oct 13

The JSON standard does not support nested, circular objects.  The IEEE Standards Association did call for a committee to be formed to extend JSON to include graphs of objects but there was not enough interest to form such a committee.

0