public class JsonDeserializationContext extends JsonMappingContext
| Modifier and Type | Class and Description |
|---|---|
static class |
JsonDeserializationContext.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
addObjectId(com.fasterxml.jackson.annotation.ObjectIdGenerator.IdKey id,
java.lang.Object instance) |
java.util.logging.Logger |
getLogger() |
java.lang.Object |
getObjectWithId(com.fasterxml.jackson.annotation.ObjectIdGenerator.IdKey id) |
boolean |
isAcceptSingleValueAsArray() |
boolean |
isFailOnUnknownProperties() |
boolean |
isUnwrapRootValue() |
JsonReader |
newJsonReader(java.lang.String input) |
java.lang.RuntimeException |
traceError(java.lang.RuntimeException cause)
Trace an error and returns a corresponding exception.
|
java.lang.RuntimeException |
traceError(java.lang.RuntimeException cause,
JsonReader reader)
Trace an error with current reader state and returns a corresponding exception.
|
JsonDeserializationException |
traceError(java.lang.String message)
Trace an error with current reader state and returns a corresponding exception.
|
JsonDeserializationException |
traceError(java.lang.String message,
JsonReader reader)
Trace an error with current reader state and returns a corresponding exception.
|
public java.util.logging.Logger getLogger()
getLogger in class JsonMappingContextpublic boolean isFailOnUnknownProperties()
public boolean isUnwrapRootValue()
public boolean isAcceptSingleValueAsArray()
public JsonReader newJsonReader(java.lang.String input)
public JsonDeserializationException traceError(java.lang.String message)
message - error messageJsonDeserializationException with the given messagepublic JsonDeserializationException traceError(java.lang.String message, JsonReader reader)
message - error messagereader - current readerJsonDeserializationException with the given messagepublic java.lang.RuntimeException traceError(java.lang.RuntimeException cause)
cause - cause of the errorJsonDeserializationException if we wrap the exceptions, the cause otherwisepublic java.lang.RuntimeException traceError(java.lang.RuntimeException cause,
JsonReader reader)
cause - cause of the errorreader - current readerJsonDeserializationException if we wrap the exceptions, the cause otherwisepublic void addObjectId(com.fasterxml.jackson.annotation.ObjectIdGenerator.IdKey id,
java.lang.Object instance)
public java.lang.Object getObjectWithId(com.fasterxml.jackson.annotation.ObjectIdGenerator.IdKey id)
Copyright © 2014. All Rights Reserved.