public static JObject ToJObject(ExpandoObject value) { string json = ToJson(value); return JObject.Parse(json); } }