2015.2.2 .json format

Is it possible to produce a .json format using Ensemble 2015.2.2? Not sure what the trigger will be as of yet, but we have our local Department of Health trying to develop a reporting piece using .json. 

Not sure how this will work with our Ensemble instance not being in the DMZ to send outside our network, but I thought I would ask anyway to see if it is possible.

Thanks

Scott Roth

  • 0
  • 0
  • 157
  • 0
  • 2

Answers

You can convert object into json:

set sc = ##class(%ZEN.Auxiliary.jsonProvider).%ObjectToJSON(obj)

And work with that.