JsonNodeChildren Property

Returns a list of members (if this node represents an object) or elements (if it represents an array), or is null if this node represents a simple type. Note that it is expected that you will normally find it easier to retrieve individual member nodes via the ItemString property when dealing with an object, and the ItemInt32 property when dealing with an array.

Definition

Namespace: MichaelBrooks.UK.Json
Assembly: JsonDOM (in JsonDOM.dll) Version: 1.0.7
C#
public JsonNodeList? Children { get; }

Property Value

JsonNodeList

Remarks

The JSON specification makes no claims as to the significance of the order in which object members are found - whether or not there is any significance (remembering that it is legal JSON for multiple object members to share the same name) to the order in which members are found is entirely an application-specific matter. It is therefore the responsibility of the code that instantiates a new child JsonNode to position that child within the Children collection (which, being a List<T>, supports positional insertion).
Online page.

See Also