Overview

Parses a JSON stream into a JSONObject

Attribute Summary

nametypedescription
Public
handlerfunction(:ElementType,:Object):Void

a handler that will be called as each type is identified during parsing, may be null

Protected

Inherited Attributes

Function Summary

public parse(instream: InputStream, ) : JSONObject

Parse an input stream into a JSONObject

public parseReader(reader: Reader, ) : JSONObject

Parse an reader into a JSONObject

public parseString(str: String, ) : JSONObject

Parse a string into a JSONObject

Inherited Functions

Attributes

public handler: function(:ElementType,:Object):Void

a handler that will be called as each type is identified during parsing, may be null

Functions

public parse(instream: InputStream, ):JSONObject

Parameters
instream
the input stream
Returns
JSONObject
the JSONObject

Parse an input stream into a JSONObject

public parseReader(reader: Reader, ):JSONObject

Parameters
reader
the reader
Returns
JSONObject
the JSONObject

Parse an reader into a JSONObject

public parseString(str: String, ):JSONObject

Parameters
str
the string
Returns
JSONObject
the JSONObject

Parse a string into a JSONObject