| Method | Defined by | ||
|---|---|---|---|
|
JSONTokenizer(s:String)
Constructs a new JSONDecoder to parse a JSON string
into a native object.
| JSONTokenizer | ||
|
Gets the next token in the input sting and advances
the character to the next character after the token
| JSONTokenizer | ||
|
parseError(message:String):void
Raises a parsing error with a specified message, tacking
on the error location and the original string.
| JSONTokenizer | ||
| JSONTokenizer | () | constructor |
public function JSONTokenizer(s:String)Constructs a new JSONDecoder to parse a JSON string into a native object.
Parameterss:String — The JSON string to be converted
into a native object
|
| getNextToken | () | method |
public function getNextToken():JSONTokenGets the next token in the input sting and advances the character to the next character after the token
ReturnsJSONToken |
| parseError | () | method |
public function parseError(message:String):voidRaises a parsing error with a specified message, tacking on the error location and the original string.
Parametersmessage:String — The message indicating why the error occurred
|