Question Marcio Coelho · May 4, 2025

Hello everyone,

I am using a class that inherits from %RegisteredObject and %JSON.Adaptor to generate a JSON string from its instances.

However, one of the properties in my class is of type %Library.DynamicObject, as in the example:

ClassExtends%RegisteredObjectAs

When calling %JSONExportToString() on an object of this class, the JSON generated for the property is incomplete or malformed. It seems the default %JSON.Adaptor doesn't correctly handle properties of type .

Example of the resulting JSON:

Previously (in Caché 2018), I used

1
0 173