SimdjsonToken class final

A single token in the flat pre-order representation of a JSON value. Mirrors SimdjsonToken in simdjson_flutter.h (16 bytes, naturally aligned).

Inheritance
Implemented types
Available extensions

Constructors

SimdjsonToken()

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
extra ↔ int
STRING: byte length of the string. ARRAY: number of elements. OBJECT: number of key-value pairs.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
pad ↔ Array<Uint8>
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ int
Token type: one of the simdjsonType* constants.
getter/setter pair
value ↔ int
INT: raw int64 value. DOUBLE: bit-cast representation of a double. STRING: byte offset into the strings buffer. BOOL: 0 = false, 1 = true.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited