public abstract class DecodeReq<T> extends Object
It can be used to specify source of the JSON document, either through a String, Reader, or a a wrapped CharSource. As
| Modifier and Type | Method and Description |
|---|---|
Type |
getType() |
static <T> DecodeReq<T> |
of(Class<T> cls) |
static <T> DecodeReq<T> |
of(Type type) |
DecodeReq<T> |
setJson(String jsonStr)
Set source of a json string
|
DecodeReq<T> |
setReader(Reader reader)
Set source with a reader
|
Copyright © 2021. All rights reserved.