74public static class TokenTypeExtensions
130 throw new ArgumentException($
"No associated FaunaType for TokenType: {tokenType}");
System.ArgumentException ArgumentException
FaunaType
An enum representing possible Fauna types.
@ Bytes
A Fauna byte array, stored as a base-64 encoded string.
TokenType
Enumerates the types of tokens used in Fauna serialization.
@ StartRef
The token type is the start of a Fauna ref.
@ EndArray
The token type is the end of a Fauna array.
@ EndObject
The token type is the end of a Fauna object.
@ EndRef
The token type is the end of a Fauna ref.
@ StartDocument
The token type is the start of a Fauna document.
@ EndPage
The token type is the end of a Fauna set (a.k.a. page).
@ StartPage
The token type is the start of a Fauna set (a.k.a. page).
@ None
There is no value. This is the default token type if no data has been read by the T:Fauna....
@ EventSource
The token type is the Fauna event source token.
@ StartArray
The token type is the start of a Fauna array.
@ FieldName
The token type is a Fauna property name.
@ StartObject
The token type is the start of a Fauna object.
@ EndDocument
The token type is the end of a Fauna document.
@ True
The token type is the Fauna literal true.
@ False
The token type is the Fauna literal false.