Summary
HasNext method determines, whether the next serialized value is available.
Syntax
function HasNext: Boolean;
Return Value
Type: Boolean
Returns True, if the next value is available. Otherwise, when all values at this level has been read - returns False.
Remarks
HasNext method should be used to determine, whether the next value is available at the current level of depth:
- At the root level it determines whether some root values remains unread.
- Inside NG.Serialization.TDeserializer.BeginObject(string)/NG.Serialization.TDeserializer.EndObject it determines, whether some more object properties remains unread.
- Inside NG.Serialization.TDeserializer.BeginArray/NG.Serialization.TDeserializer.EndArray it determines, whether some array elements remains unread.