RESTful Spring
As you see in steps below, Spring uses the Jackson JSON library to automatically marshal instances of type Greeting into JSON.
When you’re working with Spring, assume someone else has come up against the same issue. You can dump all the server-side JSON generation, because all you need to do is: