Apologize if i am wrong, i have problem with with double quotes("") when encoding json string.
Brief: i have a string which identifies height
height = "5'2"" - 157 cm"; (5 feet 2 inches - 157 centimeters)
when i parse it through json_encode in PHP, it encoding fine but string displays as
"height":"5'2\"\" - 157 cm"
after encoding in json string, i don't want the backslash(\) to be displayed in the front-end.
So, how to remove the back slash(\). Help me.
Thanks in Advance
\"is an escape sequence which tells the decoder (in which ever language) that"has to be taken literally (i.e. it is part of the string) and does not denote the end of the string value.