Skip to content Skip to sidebar Skip to footer

Should I Espace Special Characters In Json?

I send JSON with POST request to Android. And from Android side I will reproduce that JSON. But I have a little question. Should I escape spaciel characters in JSON? For example '�

Solution 1:

No need to espace special characters in JSON , Json will handle any special characters itself

But when you see Json data on a browser youll see \u015fi\u00e7\u00f6\u011f\u00fc //Json Encoded data

After parsing the Json data you will get the actual data. (şiçöğü) //Json Decoded data

Post a Comment for "Should I Espace Special Characters In Json?"