MessageML is a markup language used by the Symphony Agent API for representing messages, including formatting (bold, italic, numbered and unnumbered lists etc.) and entity data representing structured objects.
If a string (i.e valid JSON) is provided as data (invalid EntityJSON)
a ClassCastException was raised. This is now handled as an
InvalidInputException with a better error message.
Actually we could instead support escaped JSON as entityJSON content and parse it
This way clients of the Agent (i.e BDKs) could send data serialized content or directly JSON strings
If a string (i.e valid JSON) is provided as data (invalid EntityJSON) a ClassCastException was raised. This is now handled as an InvalidInputException with a better error message.