public class JsonStreamEvent extends StreamEvent
| Constructor and Description |
|---|
JsonStreamEvent(int event,
int pos)
Constructs a new event
|
JsonStreamEvent(int event,
int pos,
Object currentValue)
Constructs a new event
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getCurrentValue() |
int |
getEvent() |
getPospublic 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,
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)public int getEvent()
public Object getCurrentValue()
null)