Hello.

I’ve been using the Message.toPropertyMap() function and recently I’ve 
discovered that it does not preserve null values, as they get replaced by an 
empty string in JsonUtil.truncate(). I understand that it’s not possible to put 
null values into maps, but on the other hand, they are supported in JSON and 
there’s quite a difference between null and "". And the toPropertyMap function 
doc states clearly: “…useful when encoding to JSON”.

Is this an expected behavior? I can work around that, but should I?

Jan

Reply via email to