{
"name":"tarun",
"Address":"abcdef
ghijkl"
}
I have extracted the payload from request body and trying to validate it using Mapper object. But it is throwing jsonparseexception.
{
"name":"tarun",
"Address":"abcdef
ghijkl"
}
I have extracted the payload from request body and trying to validate it using Mapper object. But it is throwing jsonparseexception.
The issue is resolved.I have removed the line using string replace method from the string JSON and then passed it to mapper object.