JObjectHelperEnsureObjectExists Method

Overload List

EnsureObjectExists(JArray, Int32) Returns a reference to an object at the specified index within an array. Creating an object at the specified location if one doesn't already exist there. Throws an exception if a non-object value already exists at the index.
EnsureObjectExists(JObject, String) Returns a reference to an object at the specified property within another object. Creating the object if the property is not yet set. Throws an exception if a non-object value already exists at the property.

See Also