I'm fairly new to parsing Json with C# and i'm having a little issue i can't work my head around.

My data looks something like this:

```
{
    "languages": {
        "ja_lang": {
            "data": {
                "name": "Japanese"
            },
            "files": [["ja",
            "Japanese File",
            "lang_ja.txt"]]
        },
        "en_lang": {
            "data": {
                "name": "English"
            },
            "files": [["en",
            "English File",
            "lang_en.txt"]]
        }
    }
}

```

Now i want to iterate over the items in languages and only work with the one where the object-name starts with "ja\_" (in this case it would only work with "ja\_lang" and ignore "en\_lang"), then extract the name inside data and the "lang\_ja.txt" in files.

To Parse the Json in C# i downloaded the Newtonsoft.Json library and came up with this:

```
dynamic json_obj = JsonConvert.DeserializeObject("json string");

// when debugging language holds { "ja_lang": { "data": { "name": "Japanese" }, "files": [["ja", "Japanese File", "lang_ja.txt"]] } }
foreach (var language in json_obj.languages)
{
    // not sure how i can access the object-name
    /*if(!language.StartsWith("ja_"))
        continue;*/

    // Exception: 'Newtonsoft.Json.Linq.JProperty' does not contain a definition for 'data' - Not sure why it is treated as a property?
    var name = language.data.name;
    var file = language.files[2];
}

```

I'm sorry for this probably dumb question, but i've been trying to cast it to different types and searched the web for solutions, but i just couldn't figure it out. So if someone could help me out with this i would be really greatful. 

Thanks in advance!