Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to deserialize XML with special characters
Message
 
 
À
Tous
Information générale
Forum:
C#
Catégorie:
XML
Titre:
How to deserialize XML with special characters
Divers
Thread ID:
01670719
Message ID:
01670719
Vues:
43
Hi everybody,

We have code that receives result like this
<ERR>0</ERR><STATUSCODE>0</STATUSCODE><MSG>[
  {
    "BookingId": 612000001.0,
    "TransNo": 0.0,
    "Quantity": 0,
    "StartTime": "2019-08-05T11:00:00",
   ..
}]</MSG>
The json object inside the MSG tag has Notes column (and other character columns) that may contain special characters.

I tried using the code from this thread

https://stackoverflow.com/questions/4899872/fast-way-to-deserialize-xml-with-special-characters

instead of our current code, but it failed as well.
If it's not broken, fix it until it is.


My Blog
Répondre
Fil
Voir

Click here to load this message in the networking platform