JSON::PullParser

class JSON::PullParser

Overview

This class allows you to consume JSON on demand, token by token.

Defined in:

json/pull_parser.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.new(input)Source

Instance Method Detail

def bool_value : BoolSource

def float_value : Float64Source

def int_value : Int64Source

def kind : SymbolSource

def max_nesting : Int32Source

def max_nesting=(max_nesting)Source

def on_key(key, &block)Source

def on_key!(key, &block)Source

def raw_value : StringSource

def read?(klass : Bool.class)Source

def read?(klass : Int8.class)Source

def read?(klass : Int16.class)Source

def read?(klass : Int32.class)Source

def read?(klass : Int64.class)Source

def read?(klass : UInt8.class)Source

def read?(klass : UInt16.class)Source

def read?(klass : UInt32.class)Source

def read?(klass : UInt64.class)Source

def read?(klass : Float32.class)Source

def read?(klass : Float64.class)Source

def read?(klass : String.class)Source

def read_array(&block)Source

def read_array_or_null(&block)Source

def read_begin_arraySource

def read_begin_objectSource

def read_boolSource

def read_bool_or_nullSource

def read_end_arraySource

def read_end_objectSource

def read_floatSource

def read_float_or_nullSource

def read_intSource

def read_int_or_nullSource

def read_nextSource

def read_nullSource

def read_null_or(&block)Source

def read_object(&block)Source

def read_object_keySource

def read_object_or_null(&block)Source

def read_raw(json)Source

def read_rawSource

def read_stringSource

def read_string_or_nullSource

def skipSource

def string_value : StringSource

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部