1.12 Returning Objects From Controller

Return a JSON payload from your REST API endpoint by returning objects from your Spring MVC controller method.