A simple example demonstrating how to use genson
serializer instead of jackson
on Spring Boot. For moshi
implementation check moshi-serializer
branch.
For more details check:
Run the following curl command, it creates a dummy user:
$ curl -X POST "http://localhost:8080/v1/users" -H "accept: application/json" -H "Content-Type: application/json" -d '{"firstName":"John", "lastName": "Wick", "email": "john.wick@continental.org"}'