Spring Tutorial : Rest API- Returning Custom JSON Object
* As we already create a rest Api returning String in previous tutorial.
* Lets return an JSON object to the client with custom Simple Java Class
* Create a Simple Java Class with some properties. (You can also define toString function for easy debugging and consoling )
* Create a simple method which return above created class’s object inside controller class that we have created previously
* Annotate this method as getMapping
* Run you Application → Test URL
* And Done That’s It.
Other Intresting video on Macbook Air M1
Unboxing Macbook Air M1 :
https://youtu.be/JuFTby6kySg
Hinge Issue in Macbook Air M1 :
https://youtu.be/bH3Y9JN0AUY
Mac Tips and Tricks :
https://youtu.be/PwInNg8PI98
Pros and Cons of Macbook Air M1 :
https://youtu.be/V9Ctm_2Opg4