I'm using restTemplate to make a rquest to a servlet that returns a very simple representation of an object in json.
{"id":"SomeID""name":"SomeName"}
And I have a DTO with those 2 fields and the corresponding setters and getters.What I would like to know is how to create the object using that json responsewithout having to "parse" the response.