Im really new to this, I need to generate a Json File from a class in c#, im able to serialize the class using
var json = new JavaScriptSerializer().Serialize(jsonfile);
anyway the output is somethin like this :
{"empleado":"","nombre":"Name Here III"}
And with this im receiveing a bad request error
but on the sample file that the customer sent to me they have something like this:
{""empleado"":"""",""nombre"" :""Prueba6""}
And it works!!
note that they have a double qoutes twice, and the serializer is generating double quote only once. what I'm doing wrong?