Having a string containing the following raw Json data (simplified for the sake of the question):
string
var MyString = \"{ \'val\': \'apple\' }\";
I think you can use the JavaScriptSerializer class for this
var js = new System.Web.Script.Serialization.JavaScriptSerializer(); var jsonObject = js.Deserialize("{ 'val': 'apple' }", typeof(object));