예제 #1
0
 void TestGetUserInfo()
 {
     redditApi.GetUserInfo(
         s => {
         Debug.Log(s);
         user = UserMe.FromJson(s);
     }
         );
 }
예제 #2
0
파일: User.cs 프로젝트: VAD37/test-reddit
 public static string ToJson(this UserMe self) => JsonConvert.SerializeObject(self, Reddit.Converter.Settings);