JsonNodeListAdd Method

Appends an item to the list, checking for duplication.

Definition

Namespace: MichaelBrooks.UK.Json
Assembly: JsonDOM (in JsonDOM.dll) Version: 1.0.7
C#
public void Add(
	JsonNode item
)

Parameters

item  JsonNode
The item to append.

Remarks

Exceptions

JsonNodeListDuplicateItemExceptionThrown when item already exists in the list.
InvalidOperationExceptionThrown when item has the wrong parent.

See Also