Json formatting

Oct 30, 2013 at 6:44 PM
I am dealing with a 3rd party app that sends Json such as this example:

{text: '[', color: dark_red, extra:[{text: 'God', color: aqua}, {text: ']', color: dark_red}, {text: ' ', color: white}, {text: 'Row', color: gray}, {text: 'yc', color: dark_green}, {text: ': ', color: white}, {text: '#SilenceisDeadButOP', color: dark_green}]}

You can see color: dark_red , neither the name nor the value is in quotes. Is this valid Json and should Json.Net be able to parse that? My first attempt failed. How do you recommend parsing this?

Nov 5, 2013 at 5:54 AM
you can check whether it is valid Json or not here

just paste the json data and hit Validate.