Enum SerializationToken
Identifies the kind of value or structural delimiter at the current read position in a serialized data stream. Used by PeekToken() to allow callers to branch on the incoming token type before consuming it.
Namespace: Scylla.Core.Util.Serialization
Assembly: ScyllaCore.dll
Syntax
public enum SerializationToken
Fields
| Name | Description |
|---|---|
| Boolean | The next value is a boolean ( |
| Bytes | The next value is raw binary data encoded as bytes (e.g., Base64 in JSON). Read it with ReadBytes(). |
| EndArray | The next token is the closing delimiter of an array structure. Consume it with ReadEndArray(). |
| EndObject | The next token is the closing delimiter of an object structure. Consume it with ReadEndObject(). |
| Float | The next value is a floating-point number (contains a decimal point or exponent). Read it with ReadFloat() or ReadDouble(). |
| Integer | The next value is an integer number with no decimal point or exponent. Read it with any of the integer read methods such as ReadInt() or ReadLong(). |
| None | No more tokens are available; the reader has reached the end of the input stream. |
| Null | The next value is |
| PropertyName | The next token is a property name key within an object. Read it with ReadPropertyName(). |
| StartArray | The next token is the opening delimiter of an array structure. Consume it with ReadStartArray(). |
| StartObject | The next token is the opening delimiter of an object structure. Consume it with ReadStartObject(). |
| String | The next value is a quoted string. Read it with ReadString(). |