class JSON::PullParser

Overview

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

Superclass hierarchy

Object
Reference
JSON::PullParser

Defined in:

Class Method Summary

Instance Method Summary

Class Method Detail

def self.new(input)

Instance Method Detail

def bool_value

def float_value

def int_value

def kind

def on_key(key, &block)

def on_key!(key, &block)

def read_array(&block)

def read_array_or_null(&block)

def read_begin_array

def read_begin_object

def read_bool

def read_bool_or_null

def read_end_array

def read_end_object

def read_float

def read_float_or_null

def read_int

def read_int_or_null

def read_next

def read_null

def read_null_or(&block)

def read_object(&block)

def read_object_key

def read_object_or_null(&block)

def read_string

def read_string_or_null

def skip

def string_value