Json2CSharp / Json2CSharpCodeGenerator

Microsoft Reciprocal License
305 stars 83 forks source link

Escaped quotation marks breaks converter #25

Closed StaticBR closed 3 years ago

StaticBR commented 3 years ago

Hi, if the JSON uses an escaped " within an String the conversion fails. And the server returns "Wrong JSON format"

This is a simple example that breaks the converter: { "someText": " some \"special\" Text" }

Json2CSharp commented 3 years ago

hmm it should remove the escaped double quotes but its not as easy as it seems there are a lot of cases, i'll see what i can do about this

thanks for letting me know

Json2CSharp commented 3 years ago

This is fixed, thanks a lot for letting me know