Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to get properties from json in c#

        var query = parsedStr.Descendants().OfType<JProperty>().Where(p => p.Value.Type != JTokenType.Array && p.Value.Type != JTokenType.Object);
        foreach (var property in query)
            Console.WriteLine(property);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #properties #json
ADD COMMENT
Topic
Name
8+2 =