【发布时间】:2010-07-15 10:06:33
【问题描述】:
{"images":[{"id":"obj_0","src":"background.jpg","width":"640","height":"480"},{"id":"obj_9","src":"elements/pipe.png","width":50,"height":44,"top":196,"left":154,"rotation":"0"},{"id":"obj_13","src":"elements/cigarette.png","width":45,"height":67,"top":168,"left":278,"rotation":"0"},{"id":"obj_10","src":"elements/hat.png","width":227,"height":122,"top":28,"left":241,"rotation":"0"},{"id":"obj_14","src":"elements/hair.png","width":244,"height":204,"top":-17,"left":98,"rotation":"0"}]}
请帮助我如何使用 VB.Net 从这个 json 字符串中获取和/或评估对象。
谢谢
【问题讨论】:
-
签出stackoverflow.com/questions/401756/parsing-json-using-json-net 主要答案是C#,但很容易转换为VB.NET。
-
谢谢!我检查了那个,发现它与下面卡特的简单解决方案相同。
标签: vb.net string json object evaluate