JsonTokenType

Token-types for the JsonTokens

Since

0.1.0

Entries

Link copied to clipboard

A LCURL represents a '{' in the source

Link copied to clipboard

A RCURL represents a '}' in the source

Link copied to clipboard

A LSQUARE represents a '[' in the source

Link copied to clipboard

A RSQUARE represents a ']' in the source

Link copied to clipboard

A COMMA represents a ',' in the source

Link copied to clipboard

A COLON represents a ':' in the source

Link copied to clipboard

A TRUE represents a 'true' in the source

Link copied to clipboard

A FALSE represents a 'false' in the source

Link copied to clipboard

A NULL represents a 'null' in the source

Link copied to clipboard

A STRING represents a string (e.g. "hello world") in the source

Link copied to clipboard

A DOUBLE represents a double (e.g. '0.1') in the source

Link copied to clipboard

A INT represents a integer (e.g. '42') in the source

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
open override val hasValue: Boolean

Does the JsonTokenType has a value?

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun length(value: String?): Int

Get the length of the JsonTokenType

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.