-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Labels
Description
Hi,
Currently if you try to deserialize a single quote JSON to an anonymous type, it will fail with: Input is not a valid JSON
{'information': {'id': '1','name': 'tariff information','providerId': '112'}}
I use this code:
object myObject;
using (TextReader reader = new StreamReader(FILE_PATH)) {
myObject = NetJSON.NetJSON.Deserialize(reader);
}
Could we add support to be able to customize if we want to use single or double quotes? Or even better - to be smart enough to accept both formats for input?
Thanks!
Reactions are currently unavailable