vb.net parsing json

好久不见. 提交于 2020-01-16 16:14:09

问题


How can I parse json from such as twitter etc in vb.net applications.


回答1:


Use the DataContractJsonSerializer class of the System.Runtime.Serialization.Json namespace. You can use it's ReadObject method to deserialize the JSON stream.




回答2:


You can use the JSon.Net library. I've never used it from VB.net but I assume it's CLS-compliant and it should work OK.



来源:https://stackoverflow.com/questions/5451119/vb-net-parsing-json

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!