# Class: com.pnfsoftware.jeb.util.encoding.json.parser.JSONParser

Parser for JSON text. Please note that JSONParser is NOT thread\-safe. 

 Modified to support arbitrarily long integer json Numbers.

## Constructor: JSONParser


## Static Field: S_END
Type: `int`

Constant value: `6`

## Static Field: S_INIT
Type: `int`

Constant value: `0`

## Static Field: S_IN_ARRAY
Type: `int`

Constant value: `3`

## Static Field: S_IN_ERROR
Type: `int`

Constant value: `-1`

## Static Field: S_IN_FINISHED_VALUE
Type: `int`

Constant value: `1`

## Static Field: S_IN_OBJECT
Type: `int`

Constant value: `2`

## Static Field: S_IN_PAIR_VALUE
Type: `int`

Constant value: `5`

## Static Field: S_PASSED_PAIR_KEY
Type: `int`

Constant value: `4`

## Method: getPosition
- return type: `long`

Description: 
return: The position of the beginning of the current token.

## Method: parse
- parameter: `s`, type: `java.lang.String`
- return type: `java.lang.Object`


## Method: parse
- parameter: `s`, type: `java.lang.String`
- parameter: `containerFactory`, type: `com.pnfsoftware.jeb.util.encoding.json.parser.ContainerFactory`
- return type: `java.lang.Object`


## Method: parse
- parameter: `in`, type: `java.io.Reader`
- return type: `java.lang.Object`


## Method: parse
- parameter: `in`, type: `java.io.Reader`
- parameter: `containerFactory`, type: `com.pnfsoftware.jeb.util.encoding.json.parser.ContainerFactory`
- return type: `java.lang.Object`

Description: Parse JSON text into java object from the input source.
parameter: in: 
parameter: containerFactory: \- Use this factory to create your own JSON object and JSON array            containers.
return: Instance of the following: org.json.simple.JSONObject, org.json.simple.JSONArray,         java.lang.String, java.lang.Number, java.lang.Boolean, null
throws: 
throws: 

## Method: parse
- parameter: `s`, type: `java.lang.String`
- parameter: `contentHandler`, type: `com.pnfsoftware.jeb.util.encoding.json.parser.ContentHandler`


## Method: parse
- parameter: `s`, type: `java.lang.String`
- parameter: `contentHandler`, type: `com.pnfsoftware.jeb.util.encoding.json.parser.ContentHandler`
- parameter: `isResume`, type: `boolean`


## Method: parse
- parameter: `in`, type: `java.io.Reader`
- parameter: `contentHandler`, type: `com.pnfsoftware.jeb.util.encoding.json.parser.ContentHandler`


## Method: parse
- parameter: `in`, type: `java.io.Reader`
- parameter: `contentHandler`, type: `com.pnfsoftware.jeb.util.encoding.json.parser.ContentHandler`
- parameter: `isResume`, type: `boolean`

Description: Stream processing of JSON text.
see also: ContentHandler
parameter: in: 
parameter: contentHandler: 
parameter: isResume: \- Indicates if it continues previous parsing operation. If set to true,            resume parsing the old stream, and parameter 'in' will be ignored. If this method            is called for the first time in this instance, isResume will be ignored.
throws: 
throws: 

## Method: reset

Description: Reset the parser to the initial state without resetting the underlying reader.

## Method: reset
- parameter: `in`, type: `java.io.Reader`

Description: Reset the parser to the initial state with a new character reader.
parameter: in: \- The new character reader.
throws: 
throws: 

