Click here to Skip to main content
15,917,320 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In the nested JSON:

{ "Data1": null, "Data2": { "$type": "System.Collections.Generic.List`1[[NameSpace, Project.base.squema]], mscorlib", "$values": [{ "Description": "Name LastName", "ID": "123456789" }] }, "Type": 1 }



How do i get values of tokens "Description and "ID"

in C#

Thanks in advance

What I have tried:

I've tried this

Console.WriteLine(jObject.Children().Values("Data"));


but nothing!!!
Posted
Updated 31-Aug-18 12:08pm

1 solution

 
Share this answer
 
Comments
Member 12242072 1-Sep-18 10:44am    
Very very Thanks!!! Mr Graeme_Grant, it worked for me 1000%

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900