I want to be able to access properties from a JSON string within my Java action method. The string is available by simply saying myJsonString = object.getJson()
myJsonString = object.getJson()
Depending on the input JSON format(string/file) create a jSONString. Sample Message class object corresponding to JSON can be obtained as below:
Message msgFromJSON = new ObjectMapper().readValue(jSONString, Message.class);