Answers for "linq to json"

C#
0

linq to json

JObject jObj = JObject.Parse(json);
var url = (string)jObj.Descendants()
                    .OfType<JProperty>()
                    .Where(p => p.Name == "url")
                    .First()
                    .Value;
Posted by: Guest on July-11-2021

C# Answers by Framework

Browse Popular Code Answers by Language