How to log JSON deserialization in Jackson How to log JSON deserialization in Jackson json json

How to log JSON deserialization in Jackson


Apache Commons IOUtils will convert your input stream to a String, which you can then pass to log4j.

String theString = IOUtils.toString(inputStream, encoding);