Click or drag to resize

JObjectHelperEnsureObjectExists Method

Overload List
  NameDescription
Public methodEnsureObjectExists(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.
Public methodEnsureObjectExists(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.
Top
See Also