decode Fields
Decodes the message content from field data.
Called when receiving a message. Restores custom message properties from the given key-value pairs. Values may be String, Int, Long, Double, Boolean, List, Map, etc.
Parameters
fields
the deserialized JSON field data of the message