javax.json.bind.serializer.DeserializationContextpublic class Unmarshaller extends ProcessingContext implements javax.json.bind.serializer.DeserializationContext
JsonParser to navigate through json string.jsonbContext, NULL| Constructor | Description |
|---|---|
Unmarshaller(JsonbContext jsonbContext) |
Creates instance of unmarshaller.
|
| Modifier and Type | Method | Description |
|---|---|---|
<T> T |
deserialize(Class<T> clazz,
javax.json.stream.JsonParser parser) |
|
<T> T |
deserialize(Type type,
javax.json.stream.JsonParser parser) |
|
CurrentItem<?> |
getCurrent() |
Get currently processed json item.
|
void |
setCurrent(CurrentItem<?> current) |
Set currently processed item.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetJsonbContext, getMappingContextpublic Unmarshaller(JsonbContext jsonbContext)
jsonbContext - context to usepublic <T> T deserialize(Class<T> clazz, javax.json.stream.JsonParser parser)
deserialize in interface javax.json.bind.serializer.DeserializationContextpublic <T> T deserialize(Type type, javax.json.stream.JsonParser parser)
deserialize in interface javax.json.bind.serializer.DeserializationContextpublic CurrentItem<?> getCurrent()
public void setCurrent(CurrentItem<?> current)
current - current itemCopyright © 2018 Oracle Corporation. All rights reserved.