enum

JSON::Token::Kind

Inherits Enum / Comparable / Value / Object

Constants

Null = 0
False = 1
True = 2
Int = 3
Float = 4
String = 5
BeginArray = 6
EndArray = 7
BeginObject = 8
EndObject = 9
Colon = 10
Comma = 11
EOF = 12

Instance methods

begin_array?

Returns true if this enum value equals BeginArray

Source
begin_object?

Returns true if this enum value equals BeginObject

Source
colon?

Returns true if this enum value equals Colon

Source
comma?

Returns true if this enum value equals Comma

Source
end_array?

Returns true if this enum value equals EndArray

Source
end_object?

Returns true if this enum value equals EndObject

Source
eof?

Returns true if this enum value equals EOF

Source
false?

Returns true if this enum value equals False

Source
float?

Returns true if this enum value equals Float

Source
int?

Returns true if this enum value equals Int

Source
null?

Returns true if this enum value equals Null

Source
string?

Returns true if this enum value equals String

Source
true?

Returns true if this enum value equals True

Source