Answer by Brian Rogers for Filter JSON by key name using LINQ
Sure, you can do this with Json.Net's LINQ-to-JSON API: var items = JObject.Parse(json)["items"] .Children<JProperty>() .Where(jp => jp.Name.StartsWith("item")) .Select(jp =>...
View ArticleFilter JSON by key name using LINQ
Given the following JSON:{"items": {"primary": "structured","item0": {"keyA1": "value1","keyA2": "value2","keyA3": "value3" },"item1": {"keyB1": "value1","keyB2": "value2","keyB3": "value3" },"item2":...
View Article
More Pages to Explore .....