-1

When I sysout the RestModel in Java code, it's printed out like this.

[com.my.model.RestModel@14ab40d2]

Is there a way to display the Detail? (like Json?)

Mark Rotteveel
  • 90,369
  • 161
  • 124
  • 175
Ian Cho
  • 91
  • 6

1 Answers1

0

You can override your model's toString() method and have it print out the information you want in the format you want.

Mureinik
  • 277,661
  • 50
  • 283
  • 320