How To Convert Database Table Data Into Json Format In Java Spring Boot

How To Convert Database Table Data Into Json Format In Java Spring Boot