public static JsonObject CreateFromString([NotNull] string input, CultureInfo culture)
{
if (input == null)
throw FacebookApi.Nre("input");
object o;
try
{
o = new JavaScriptSerializer().DeserializeObject(input);
}
catch (ArgumentException ex)
{
throw new FacebookApiException("JSONException", "Not a valid JSON string: " + input, ex);
}
return Create(o, culture);
}