using System.Collections.Generic;
using Newtonsoft.Json.Linq;
public static void Main()
""sourceDictionary"": ""wiktionary"",
""attributionUrl"": ""http://creativecommons.org/licenses/by-sa/3.0/"",
""attributionText"": ""from Wiktionary, Creative Commons Attribution/Share-Alike License"",
""partOfSpeech"": ""verb"",
""text"": ""To hoist (the anchor) by its ring so that it hangs at the cathead."",
""sourceDictionary"": ""wiktionary"",
""attributionUrl"": ""http://creativecommons.org/licenses/by-sa/3.0/"",
""attributionText"": ""from Wiktionary, Creative Commons Attribution/Share-Alike License"",
""partOfSpeech"": ""verb"",
""text"": ""To flog with a cat-o'-nine-tails."",
""sourceDictionary"": ""wiktionary"",
""attributionUrl"": ""http://creativecommons.org/licenses/by-sa/3.0/"",
""attributionText"": ""from Wiktionary, Creative Commons Attribution/Share-Alike License"",
""partOfSpeech"": ""verb"",
""text"": ""To vomit something."",
""sourceDictionary"": ""wiktionary"",
""attributionUrl"": ""http://creativecommons.org/licenses/by-sa/3.0/"",
""attributionText"": ""from Wiktionary, Creative Commons Attribution/Share-Alike License"",
""partOfSpeech"": ""verb"",
""text"": ""To apply the cat command to (one or more files)."",
""sourceDictionary"": ""wiktionary"",
""attributionUrl"": ""http://creativecommons.org/licenses/by-sa/3.0/"",
""attributionText"": ""from Wiktionary, Creative Commons Attribution/Share-Alike License"",
""partOfSpeech"": ""verb"",
""text"": ""To dump large amounts of data on (an unprepared target) usually with no intention of browsing it carefully."",
var worddata = (List<object>)JsonHelper.Deserialize(jsontext);
var dict = (Dictionary<string, object>)worddata[0];
var text = (string)dict["text"];
public static class JsonHelper
public static object Deserialize(string json)
return ToObject(JToken.Parse(json));
private static object ToObject(JToken token)
return token.Children<JProperty>()
.ToDictionary(prop => prop.Name,
prop => ToObject(prop.Value));
return token.Select(ToObject).ToList();
return ((JValue)token).Value;