abstract class JSON::Lexer inherits Reference ¶ Class methods¶ .new(string : String) ¶ View source .new(io : IO) ¶ View source .new ¶ View source Methods¶ #next_token ¶ View source #next_token_expect_object_key ¶ Requests the next token where the parser expects a json object key. In this case the lexer tries to reuse the String instances by using a StringPool. View source #skip : Bool ¶ View source #skip=(skip : Bool) ¶ View source #token : Token ¶ View source