JSON Parser Xojo plugin |

# JSONObject.CreateIterator Method

Creates iterator to iterate through the JSONObject. This variation will start the iterator at given key.

CreateIterator(
key as String) as JSONObjectIterator

#### Parameters

key
  The key to start the iteration at.

#### Returns

JSONObjectIterator
  Returns new iterator object or nil if the JSONObject was empty or given key was not found.

#### Remarks

Iterating forward to the end of object only yields all key-value pairs of the object if key happens to be the first key in the underlying hash table

#### See Also

JSONObject Class