Not able to convert %Stream.TmpBinary; to JSON property
Hello,
I’m creating a REST API service but I need to convert my object in JSON.
Class message_B Extends Ens.Request
{
Property ClientId As %String(MAXLEN = "");
Property mesagge As %Stream.TmpBinary;
}
set pRequest = ##Class(message_B).%New()
do ##class(Ens.Util.JSON).ObjectToJSONStream(pRequest, .content)
it is ignoring message property in json dueto its data type %Stream.TmpBinary
Could you please help me to resolve it?
Product version: IRIS 2022.1