Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 578 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 578 Bytes

reflection_print_object

A simple app that prints an object contents using reflection

The app prints objects using simple reflection with formatting for all the primitive datatypes with default settings that can be changed for any kind of format that user wants per type, it prints arrays sorrounded with square brackets [] and objects will be idented. It does not use any 3rd party libraries like guava or spring, only java8 core.

Example

Example output is already ready in the Main method, when it runs it will print the following: