我在firebase中有user_table,我想从user_table中获取所有节点数据作为列表。
我可以使用
获取所有数据FirebaseResponse response = await client.GetTaskAsync("User_Table\");
,那么我无法将json数据序列化为对象
FirebaseResponse response = await client.GetTaskAsync("User_Table\\");
List<UserList> usr = (List<UserList>)JsonConvert.DeserializeObject(response.ToString(), (typeof(List<UserList>)));
答案 0 :(得分:0)
您是否尝试过使用dictionary
和foreach
?
您也可以尝试通过YouTube遵循本教程 https://m.youtube.com/watch?v=oeblTSuBjSo&t=1s