Hi.
That is a good approach.
However, have you ever tried JSON_OBJECT function (https://cedocs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?…)? If your need is to return an JSON to an API call, this may do the trick for you.
Have a good one.
- Log in to post comments