Paolo ponzano - 426 - Jul 9, 2014

Hi Demis,
I’m facing a little issue with the SS json serializer and double quotes:
Actually, as described here https://github.com/ServiceStack/ServiceStack.Text#jsv-text-format-json–csv it looks that string values are considered “white-space significant” but actually i’m trying to serialize string values from objects to JSON and what i get is non-double-quoted:

{
id: 1,
description: Some Text,
shortDescription: Obblig. semplici
}

But as stated on http://json.org/ under the “string” section every JSON encoded string should be double quoted, and a customer of mine is requesting me to be compliant with it.

JSV is not JSON, don’t use JSV/TypeSerializer where JSON is expected. Use the JsonSerializer or ToJson()/FromJson() API’s instead.
If you still have an issue please submit a failing test to: https://github.com/ServiceStack/Issues