private Object getJson ( String jsonAsString ) { try { return objectMapper . readValue ( jsonAsString , Object . class ) ; } catch ( Exception e ) { logger . info ( "Unable to parse (json?) string: {}" , jsonAsString , e ) ; return jsonAsString ; } }
Used to obtain a JSONified object from a string