public class JsonStreamEvent extends StreamEvent
Constructor and Description |
---|
JsonStreamEvent(int event, int pos) Constructs a new event |
JsonStreamEvent(int event, int pos, java.lang.Object currentValue) Constructs a new event |
Modifier and Type | Method and Description |
---|---|
java.lang.Object | getCurrentValue() |
int | getEvent() |
getPos
public JsonStreamEvent(int event, int pos)
event
- the actual JSON event typepos
- the position in the JSON stream where the event has occurredpublic JsonStreamEvent(int event, int pos, java.lang.Object currentValue)
event
- the actual JSON event typepos
- the position in the JSON stream where the event has occurredcurrentValue
- the value or field name that was parsed when the event was generated (may be null
)