Skip to content

Classes: JSONNode.Count

Bunny83 edited this page Jul 16, 2020 · 2 revisions

back

public virtual int Count { get; }

This property will return the number of elements / members in a JSONArray or JSONObject. For any other JSONNode derived classes this property will always return 0.

It's useful when manually iterating over a JSONArray with a for-loop.

Clone this wiki locally