@Deprecated public class GenericJSONConverter extends Object implements JSONConverter
| Constructor and Description |
|---|
GenericJSONConverter()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
readValue(Class<?> c,
Object jv)
Deprecated.
convert json value to target class.
|
void |
writeValue(Object obj,
JSONWriter jb,
boolean writeClass)
Deprecated.
write object.
|
public void writeValue(Object obj, JSONWriter jb, boolean writeClass) throws IOException
JSONConverterwriteValue in interface JSONConverterobj - obj.jb - builder.IOExceptionpublic Object readValue(Class<?> c, Object jv) throws IOException
JSONConverterreadValue in interface JSONConverterc - target type.jv - json value.IOExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.