I have a page resulting in a JSON string and some char are encoded with \uxxxx.
It is not decoded with HTMLdecode or URLdecode.
Is there a function to decode the string ?
Decode JSON string
-
antp
- Site Admin
- Posts: 9902
- Joined: 2002-05-30 10:13:07
- Location: Brussels
Re: Decode JSON string
There is a DecodeJson fonction in JsonUtils.pas that you can use by adding "JsonUtils" to the "uses" line at the top of the script.