JSON::Lexer

abstract class JSON::Lexer

Defined in:

json/lexer.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.new(string : String)Source

def self.new(io : IO)Source

def self.newSource

Instance Method Detail

def next_tokenSource

def next_token_expect_object_keySource

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.

def skip : BoolSource

def skip=(skip : Bool)Source

def token : TokenSource

© 2012–2017 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.22.0/JSON/Lexer.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部