jsonrpc4j
jsonrpc4j copied to clipboard
Fine-logging of response before it is handed over to Jackson
If a server responds with invalid JSON, it might be worthwhile to actually have a look at the real response. Right now only valid JSON is printed via JsonNode.toString()
.
Attached logging decorators I created for this myself. Enable with client.getObjectMapper().getJsonFactory().setOutput-/-Input Decorator. LoggingDecorators.zip