...

/

Customize Resource JSON Output

Customize Resource JSON Output

Let’s learn to modify the JSON response of a resource.

Using RepresentationModelProcessor interface

We have a custom controller with the REST endpoint at /todo/todoTypes. Now, let’s modify the JSON output of the todo resource and add a link to ...