/intellij-java-tostring-json-template

Template to be used with IntelliJ's toString() functionality to output a Java object graph in JSON.

Primary LanguageJava

IntelliJ toString() generator with JSON output

The template is to be used with IntelliJ's toString() functionality to output an object graph in JSON.

This can help with analysing an object graph from logs in the spirit of structured logging

Limitations

Currently multi-dimensional arrays of User Defined Types (eg: SimpleObject[][]) aren't converted to JSON.