Click or drag to resize
JsonDynamicInsertObject Method
Adds an empty object at the specified index and returns its instance.

Namespace: Dextronet.Jsonie
Assembly: Dextronet.Jsonie (in Dextronet.Jsonie.dll) Version: 1.0.0.0
Syntax
public JsonDynamic InsertObject(
	int index
)

Parameters

index
Type: SystemInt32
The zero-based index at which item should be inserted.

Return Value

Type: JsonDynamic
The inserted object as dynamic.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than 0 or is equal or more than Count.
InvalidCastExceptionIf this object does not wrap JsonArray.
See Also