public static T HttpGetJson <T>(string endpoint) { var json = HttpGet(endpoint); return(JsonUtil.DeserializeObject <T>(json)); }
public static void SaveClientMetadata(ClientMetadata meta) { File.WriteAllText("client.json", JsonUtil.SerializeObject(meta)); }