0

I have a post api built in springboot with request body as follows

{ "value" : ">" }

When this value is passed to the api as payload, the deserilized value in the controller is coming as > .

the request body in java is as follows

public class MyData {

private String value;
//getters //setters 

}

How can I tell spring to deserialize it as is and not to convert it.

Appreciate your help... :)

Sudharnath
  • 11
  • 2

0 Answers0