Published on InterSystems Developer Community (https://community.intersystems.com)

Home > ##class(%ZEN.Auxiliary.jsonProvider).%WriteJSONStreamFromObject(), Remove _class property

Question
Leonardo Weihermann · Dec 9, 2019

##class(%ZEN.Auxiliary.jsonProvider).%WriteJSONStreamFromObject(), Remove _class property

I am converting an object to json, but in the result a "_class" property appears, is there any way to remove this?
 

 

SKYankee.Planejamento.Operacao.Car is a  %SerialObject

Result:

#Debugging #Caché

Source URL:https://community.intersystems.com/post/classzenauxiliaryjsonproviderwritejsonstreamfromobject-remove-class-property