enum TokenType [src]

Alias for std.json.scanner.TokenType

This is only used in peekNextTokenType() and gives a categorization based on the first byte of the next token that will be emitted from a next*() call.

Fields

object_begin
object_end
array_begin
array_end
true
false
null
number
string
end_of_document

Source

pub const TokenType = enum { object_begin, object_end, array_begin, array_end, true, false, null, number, string, end_of_document, }