I am relatively new in Spring Boot. I am developing a simple user management system and want to replace my PUT requests with PATCH ones.
As I read here: Custom Spring MVC HTTP Patch requests with Spring Data Rest functionality. A simple way to do it, is to convert to JSON the current state of the user, apply the JSON from the PATCH query and then convert that to my class for users. For the first and the last, I know how to do them - using ObjectMapper as described here: http://www.mkyong.com/java/how-to-convert-java-object-to-from-json-jackson/.
However, I am not exactly sure how to apply the patch. I read about JsonPatchHandler, but there isn't a good manual for how to use it, so I don't know how to use it. Can someone explain how can I use it, or tell me another way to handle a PATCH request?