Showing posts with label Null. Show all posts
Showing posts with label Null. Show all posts

Monday, April 3, 2017

How to Pass Null Value in JSON Message using ESQL

Input Message

<XML>
<Message>
<Name></Name>
</Message>
</XML>


Now if you need to send Name as Null to output message . Use the following esql.

Set outputroot.json.data.message.name Value = Nullif(Inputroot.XMLNC.XML.Message.Name,'')