T - the type decoded from JsonJ - the json typepublic interface JsonDecoder<T,J>
<T> type to <J>.
<T> can be any class or interface type, <J> can be one of the following:
| Modifier and Type | Method and Description |
|---|---|
T |
decode(J json)
Decode
<J> to <T>. |
Class<T> |
getTargetClass() |
T decode(J json) throws IllegalArgumentException
<J> to <T>.
json will not be null and the implementation must not return null.json - the json valueIllegalArgumentException - when it cannot decode the valueCopyright © 2019 Eclipse. All rights reserved.