Question Json Nest within a nest

AussieBoy

Well-known member
Joined
Sep 7, 2020
Messages
78
Programming Experience
Beginner
Hi Guy's, if I have a nest with in a nest in json.
How do I get the count of the inner nest?
Thanks,


C#:
int Count = Root.tasks[i].Item.Count();
 
Are you looking for the height of the parse tree? Or are you looking to count number of leaves in the parse tree? Or are you looking to count the number of nodes of a particular type in the parse tree?
 
Back
Top Bottom