Hi devs!
Suppose I have an instance of a persistent class:
Set person = ##class(dc.Sample.Person).%OpenId(1)
Class is an ancestor of %JSON.Adapter.
How can I convert it to dynamic object with the properties that person.%JSONExport() provides?
InterSystems ObjectScript is a scripting language to operate with data using any data model of InterSystems Data Platform (Objects, Relational, Key-Value, Document, Globals) and to develop business logic for serverside applications on InterSystems Data Platform.