{"sentences":[{"trans":"událost","orig":"event","translit":"","src_translit":""}],"dict":[{"pos":"podstatné jméno","terms":["událost","případ","příhoda","soutěž","sportovní disciplína"],"entry":[{"word":"událost","reverse_translation":["event","occurrence","incident","happening","affair"],"score":0.6872893},{"word":"případ","reverse_translation":["CASE","event","instance","occurrence","episode","subject"],"score":0.017476905},{"word":"příhoda","reverse_translation":["event","incident","episode"],"score":0.0021874912},{"word":"soutěž","reverse_translation":["competition","contest","event"],"score":0.0017304479},{"word":"sportovní disciplína","reverse_translation":["event"],"score":3.2700344e-05}]}],"src":"en","server_time":45}
這段代碼我需要解析自己的對象(這是谷歌翻譯響應)。 .NET中是否存在「http response parser helper」?C#中是否存在http響應分析器?
就像這樣(谷歌瀏覽器)。
這是JSON,一個得到廣泛支持的格式,但無論如此,有可能是通過谷歌或可處理谷歌翻譯的響應爲您第三方/開源項目,谷歌它提供了一個庫! – joshuahealy 2013-05-06 23:09:56