Exemple #1
0
        public static T HttpGetJson <T>(string endpoint)
        {
            var json = HttpGet(endpoint);

            return(JsonUtil.DeserializeObject <T>(json));
        }
Exemple #2
0
 public static void SaveClientMetadata(ClientMetadata meta)
 {
     File.WriteAllText("client.json", JsonUtil.SerializeObject(meta));
 }