private static User UserPart(JToken json) { try { return(JsonTools <User> .DeserializeObject("data.user", json)); } catch (Exception) { return(new User()); } }
private static Account AccountPart(JToken json) { try { return(JsonTools <Account> .DeserializeObject("data.account", json)); } catch (Exception) { return(new Account()); } }