public class FastJsonProvider extends Object implements JsonProvider
| 构造器和说明 |
|---|
FastJsonProvider() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
marshal(Writer writer,
Object value)
Serialize value to json, and write to writer
|
<T> T |
unmarshal(InputStream inputStream,
Charset charset,
Type type)
Deserialize json from input stream, with charset and type.
|
<T> T |
unmarshal(Reader reader,
Type type)
Deserialize json from reader, with type
|
public void marshal(Writer writer, @Nullable Object value) throws IOException
JsonProvidermarshal 在接口中 JsonProviderIOException@Nullable public <T> T unmarshal(Reader reader, Type type) throws IOException
JsonProviderunmarshal 在接口中 JsonProviderIOException@Nullable public <T> T unmarshal(InputStream inputStream, Charset charset, Type type) throws IOException
JsonProviderunmarshal 在接口中 JsonProviderIOExceptionCopyright © 2017. All rights reserved.