Jack Tauson wrote:I have the following setup working fine and it's printing the following JSON as expected:
Following code works fine and prints above JSON:
But I have few more things involved like Hibernate 4.3.5 from where I am getting some details so I have modified the above code as follows:
I am getting following JSON response for the above :
In case if someone is wondering what's the output of `empList`. from the below line of code of the controller, I tried printing it like this :
and it's getting printed like this :
Could anyone tell me what am I doing wriong above? I mean how can I print all the ID and Name in the JSON using `empList` from the above code?
Hi jack, are you want to create a RESTfull APIs using spring?