parse Message To Json Node
Takes an existing Message in the form of a json string and parses it into a JsonNode object. Validates object structure.
Return
The json string parsed into a JsonNode object.
Parameters
payload
The message as a json string.
Throws
if the payload does not conform to the expected json schema.