posted 8 years ago
Hi All,
I am using jackson object mapper to validate and unmarshall the json request , currently facing below issue with special characters "\;";
Input request has this element : "lastName": "GADD2\;:”’,.?/ AAC??¼ÆÐæ"
com.fasterxml.jackson.databind.JsonMappingException: Unrecognized character escape ';' (code 59)
when i applied below configuration , it doesn't produce "\" in output.
mapper.configure(JsonParser.Feature.ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER, true);
Any help regarding this will be much appreciated since it is a blocker for me.
Regards,
Vijay