public class JsonUnmarshallingContext extends UnmarshallingContext
UnmarshallingContext
for JSON formatted streams.MARSHALLING, UNMARSHALLING
Constructor and Description |
---|
JsonUnmarshallingContext(int maxDepth)
Constructs a new JsonUnmarshallingContext.
|
Modifier and Type | Method and Description |
---|---|
Object |
getValue(JsonNode node) |
Object |
pop() |
Object |
push(JsonNode node,
boolean validate) |
void |
setRecordValue(Object value)
Sets the value of the record returned from the RecordReader
|
addFieldError, addRecordError, addRecordError, getLineNumber, getLocale, getMessageFactory, getMode, getRecordContext, getRecordCount, getRecordReader, hasFieldErrors, hasRecordErrors, isEOF, newMalformedRecordException, newUnsatisfiedGroupException, newUnsatisfiedRecordException, nextRecord, prepare, recordCompleted, recordException, recordSkipped, recordStarted, recordUnexpectedException, recordUnidentifiedException, setFieldText, setLocale, setMessageFactory, setRecordReader, toRecordValue, toRecordValue, toRecordValue, validate
clear, createHeap, getAdjustedFieldPosition, getLocal, getRelativeFieldIndex, isRepeating, popIteration, pushIteration, setLocal
public JsonUnmarshallingContext(int maxDepth)
maxDepth
- the maximum depth of the all JsonWrapper
components in the parser tree layout.public void setRecordValue(Object value)
UnmarshallingContext
setRecordValue
in class UnmarshallingContext
value
- the record value read by a record readerRecordReader
public Object pop()