>when he should receive Andrés, I receive: Andr\u00e9s
You can use the Xbase++ function JsonDecode(cString). The UTF-8 "\u00e9"
character will be decoded as an OEM or ANSI character, depending on your
Character Set setting.
You can also use the Xbase++ function Json2Var() for more complex JSON data.
The Json*() functions were added to Xbase++ in Version 2.00.951.
Additionally, Xb2Net also has the xbJSON class and xbJSONParse() function
(since Version 3.6.00), but I'm not sure if they (automatically) handle
those "\uXXXX" encodings. I would assume that they do, but I'm not sure.
Finally, there are some other options, like Chilkat and OT4Xb, which also
have JSON handling and encoding/decoding functionality.
Hope that helps,
Absolute Software, LLC
phone: (989) 723-9927