Struct JsonParser.JsonValue.JsonKeyValueEnumerator
Enumerates key-value pairs for this JsonParser.JsonValue if it was parsed with key creation enabled.
Inherited Members
Namespace: TriLibCore.Utils
Assembly: TriLibCore.dll
Syntax
public struct JsonParser.JsonValue.JsonKeyValueEnumerator : IEnumerator<Tuple<string, string>>, IEnumerator, IDisposable
Constructors
JsonKeyValueEnumerator(JsonValue)
Initializes a new instance of the JsonParser.JsonValue.JsonKeyValueEnumerator struct for the given jsonValue.
Declaration
public JsonKeyValueEnumerator(JsonParser.JsonValue jsonValue)
Parameters
| Type | Name | Description |
|---|---|---|
| JsonParser.JsonValue | jsonValue | The JsonParser.JsonValue whose child key-value pairs will be enumerated. |
Properties
Current
Gets the current key-value pair, represented as a Tuple<T1, T2>.
Declaration
public Tuple<string, string> Current { get; }
Property Value
| Type | Description |
|---|---|
| Tuple<string, string> |
Methods
Dispose()
Declaration
public void Dispose()
MoveNext()
Declaration
public bool MoveNext()
Returns
| Type | Description |
|---|---|
| bool |
Reset()
Declaration
public void Reset()