@Deprecated public interface JSONConverter
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
readValue(Class<?> type,
Object jv)
已过时。
convert json value to target class.
|
void |
writeValue(Object obj,
JSONWriter builder,
boolean writeClass)
已过时。
write object.
|
void writeValue(Object obj, JSONWriter builder, boolean writeClass) throws IOException
obj - obj.builder - builder.IOExceptionObject readValue(Class<?> type, Object jv) throws IOException
type - target type.jv - json value.IOExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.