public static ChangeTextData FromJson(JObject from) { JsonSerializer serializer = new JsonSerializer(); ChangeTextData p = (ChangeTextData)serializer.Deserialize(new JTokenReader(from), typeof(ChangeTextData)); return(p); }
public static ChangeTextData FromJsonString(string jsonString) { ChangeTextData info = JsonConvert.DeserializeObject <ChangeTextData>(jsonString); return(info); }