have a scenario where input is JSON , however since there is chance of getting an invalid json the procedure used to parse this json treats it as a string.
Everything is fine but it breaks when json field value contains double quotes in value. how can we handle this.
eg: Description says 2" , this double quote after two is causing JSON conversion error.
{
“SHOES”:[
{
“TYPE”:“STILETOES”,
“CODE”:“ST-BL-2-001”,
“DESCRIPTION”:“2” Back Pointed",
“BRAND”: “XYZ”,
“COLOR”:“BLACK”
}
]
}