c# - JSON Deserializing string starting with double quotes is not returning correct result -


serialing and then deserializing string "/" abc "is giving wrong result.

Is unsuccessful:

  Serialize and dasherize public zero test correctly (Handsets) {var data = "\" abc "; Var Results = JsonSerializer.SerializeToString (Data); Var deserializedData = JsonSerializer.DeserializeFromString & lt; String & gt; (result); Responsibility That is (deserializedData, is.EqualTo (data)); }  


Comments

Popular posts from this blog

c# - The item with identity 'Id' already exists in the metadata collection. Parameter name: item -

sql - PostgreSQL automatically update row at specific date -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -