コード例 #1
0
        public static ChangeTextData FromJson(JObject from)
        {
            JsonSerializer serializer = new JsonSerializer();
            ChangeTextData p          = (ChangeTextData)serializer.Deserialize(new JTokenReader(from), typeof(ChangeTextData));

            return(p);
        }
コード例 #2
0
        public static ChangeTextData FromJsonString(string jsonString)
        {
            ChangeTextData info = JsonConvert.DeserializeObject <ChangeTextData>(jsonString);

            return(info);
        }