Skip navigation links
D E F G H I J N S V 

D

de.undercouch.actson - package de.undercouch.actson
 
DefaultJsonFeeder - Class in de.undercouch.actson
Default implementation of JsonFeeder used internally by the JsonParser.
DefaultJsonFeeder(Charset) - Constructor for class de.undercouch.actson.DefaultJsonFeeder
Constructs a feeder
DefaultJsonFeeder(Charset, int) - Constructor for class de.undercouch.actson.DefaultJsonFeeder
Constructs a feeder
done() - Method in class de.undercouch.actson.DefaultJsonFeeder
 
done() - Method in interface de.undercouch.actson.JsonFeeder
Call this method to indicate that the end of the JSON text has been reached and that there is no more input to parse.

E

END_ARRAY - Static variable in interface de.undercouch.actson.JsonEvent
The end of a JSON array.
END_OBJECT - Static variable in interface de.undercouch.actson.JsonEvent
The end of a JSON object.
EOF - Static variable in interface de.undercouch.actson.JsonEvent
The end of the JSON text
ERROR - Static variable in interface de.undercouch.actson.JsonEvent
The JSON text contains a syntax error.

F

feed(byte) - Method in class de.undercouch.actson.DefaultJsonFeeder
 
feed(byte[]) - Method in class de.undercouch.actson.DefaultJsonFeeder
 
feed(byte[], int, int) - Method in class de.undercouch.actson.DefaultJsonFeeder
 
feed(byte) - Method in interface de.undercouch.actson.JsonFeeder
Provide more data to the JsonParser.
feed(byte[]) - Method in interface de.undercouch.actson.JsonFeeder
Provide more data to the JsonParser.
feed(byte[], int, int) - Method in interface de.undercouch.actson.JsonFeeder
Provide more data to the JsonParser.
FIELD_NAME - Static variable in interface de.undercouch.actson.JsonEvent
A field name.

G

getCurrentDouble() - Method in class de.undercouch.actson.JsonParser
If the event returned by nextEvent() was JsonEvent.VALUE_DOUBLE this method will return the parsed double
getCurrentInt() - Method in class de.undercouch.actson.JsonParser
If the event returned by nextEvent() was JsonEvent.VALUE_INT this method will return the parsed integer
getCurrentLong() - Method in class de.undercouch.actson.JsonParser
If the event returned by nextEvent() was JsonEvent.VALUE_INT this method will return the parsed long integer
getCurrentString() - Method in class de.undercouch.actson.JsonParser
If the event returned by nextEvent() was JsonEvent.VALUE_STRING this method will return the parsed string
getFeeder() - Method in class de.undercouch.actson.JsonParser
Get the feeder that can be used to provide more input to the parser
getMaxDepth() - Method in class de.undercouch.actson.JsonParser
 
getParsedCharacterCount() - Method in class de.undercouch.actson.JsonParser
Get the number of characters processed by the JSON parser so far.

H

hasInput() - Method in class de.undercouch.actson.DefaultJsonFeeder
 
hasInput() - Method in interface de.undercouch.actson.JsonFeeder
Determine if the feeder has input data that can be parsed

I

isDone() - Method in class de.undercouch.actson.DefaultJsonFeeder
 
isDone() - Method in interface de.undercouch.actson.JsonFeeder
Check if the end of the JSON text has been reached
isFull() - Method in class de.undercouch.actson.DefaultJsonFeeder
 
isFull() - Method in interface de.undercouch.actson.JsonFeeder
Checks if the parser accepts more input at the moment.

J

JsonEvent - Interface in de.undercouch.actson
A class containing all possible JSON events returned by nextEvent()
JsonFeeder - Interface in de.undercouch.actson
A feeder can be used to provide more input data to the JsonParser.
JsonParser - Class in de.undercouch.actson
A non-blocking, event-based JSON parser.
JsonParser() - Constructor for class de.undercouch.actson.JsonParser
Constructs a JSON parser that uses the UTF-8 charset to decode input data
JsonParser(Charset) - Constructor for class de.undercouch.actson.JsonParser
Constructs a JSON parser
JsonParser(JsonFeeder) - Constructor for class de.undercouch.actson.JsonParser
Constructs the JSON parser

N

NEED_MORE_INPUT - Static variable in interface de.undercouch.actson.JsonEvent
The JSON parser needs more input before the next event can be returned.
nextEvent() - Method in class de.undercouch.actson.JsonParser
Call this method to proceed parsing the JSON text and to get the next event.
nextInput() - Method in class de.undercouch.actson.DefaultJsonFeeder
 
nextInput() - Method in interface de.undercouch.actson.JsonFeeder
Decode and return the next character to be parsed

S

setMaxDepth(int) - Method in class de.undercouch.actson.JsonParser
Set the maximum number of modes on the stack (basically the maximum number of nested objects/arrays in the JSON text to parse)
START_ARRAY - Static variable in interface de.undercouch.actson.JsonEvent
The start of a JSON array.
START_OBJECT - Static variable in interface de.undercouch.actson.JsonEvent
The start of a JSON object.

V

VALUE_DOUBLE - Static variable in interface de.undercouch.actson.JsonEvent
A double value.
VALUE_FALSE - Static variable in interface de.undercouch.actson.JsonEvent
The boolean value false.
VALUE_INT - Static variable in interface de.undercouch.actson.JsonEvent
An integer value.
VALUE_NULL - Static variable in interface de.undercouch.actson.JsonEvent
A null value.
VALUE_STRING - Static variable in interface de.undercouch.actson.JsonEvent
A string value.
VALUE_TRUE - Static variable in interface de.undercouch.actson.JsonEvent
The boolean value true.
D E F G H I J N S V 
Skip navigation links