Question prabakaran a · Jun 15, 2017 %RegisteredObject to JSON #JSON #Caché How to export the %RegisteredObject to JSON in Cache 2016.2? 0 0 814
Vitaliy Serdtsev · Jun 15, 2017 The jsonProvider code may also be invoked from a non-Zen context by calling one of the following APIs: %WriteJSONFromArray %WriteJSONFromObject %WriteJSONStreamFromArray %WriteJSONStreamFromObject %ConvertJSONToObject proof Example: d ##class(%ZEN.Auxiliary.jsonProvider).%WriteJSONStreamFromObject(.stream,..%OpenId(1),,,1,"aelqoc") w "<- json = ",stream.Read(),! Eduard Lebedyuk · Jun 15, 2017 16.2 has %ZEN.Auxiliary.altJSONProvider, which has same method signatures but may be preferable (faster).
Eduard Lebedyuk · Jun 15, 2017 16.2 has %ZEN.Auxiliary.altJSONProvider, which has same method signatures but may be preferable (faster).
Example:
16.2 has %ZEN.Auxiliary.altJSONProvider, which has same method signatures but may be preferable (faster).