[入門] JSON.NET 入門= jarray 很重要
https://dotblogs.com.tw/johnny/2014/05/04/intro-to-jsonnet
https://jsoneditoronline.org/
==========================================================
//JSON字串
string Json = textBox2.Text;
//轉成物件
ArrayList arrayList = new ArrayList();
arrayList = JsonConvert.DeserializeObject<ArrayList>(Json);
textBox3.Text = arrayList[0].ToString();
textBox4.Text = arrayList[1].GetType().Name;//型態為JArray
JArray output1 = (JArray)arrayList[1];
JArray output2 = (JArray)output1[0];
textBox5.Text = (string)output2[0];
JArray output3= (JArray)output2[1];
textBox6.Text = (string)output3[0];
============================================================
https://ithelp.ithome.com.tw/questions/10189022
https://dotblogs.com.tw/stanley14/2016/03/11/190123
https://jsoneditoronline.org/
2018年10月15日 星期一
訂閱:
張貼留言 (Atom)
WPF聊天室应用(ASP.NET Core SignalR)
WPF聊天室应用(ASP.NET Core SignalR) https://www.bilibili.com/video/BV1Q741187Si?p=2 https://www.bilibili.com/video/BV1UV411e75T?from=search&...
-
介面,依賴反轉,單元測試 https://www.youtube.com/watch?v=GpYieGx4y6M 介面隔離,反射,特性,依賴注入 https://www.youtube.com/watch?v=3bZ4rNS_o10
-
https://mgleon08.github.io/blog/2018/07/16/jwt/ https://medium.com/%E9%BA%A5%E5%85%8B%E7%9A%84%E5%8D%8A%E8%B7%AF%E5%87%BA%E5%AE%B6%E7%AD%86%...
-
https://dotblogs.com.tw/v6610688/2015/02/19/iis_office_access_word_excel_com_interop_api_configuration https://dotblogs.com.tw/gelis/archi...
沒有留言:
張貼留言