public static JSONObject CreateFromString(string s)
{
object o;
JavaScriptSerializer js = new JavaScriptSerializer();
js.MaxJsonLength = Int32.MaxValue;
try
{
o = js.DeserializeObject(s);
}
catch (ArgumentException ae)
{
throw ae;// new Exception("JSONException", "Not a valid JSON string.");
}
return Create(o);
}