public class JSONWriter extends Object
Constructor and Description |
---|
JSONWriter()
Deprecated.
|
JSONWriter(boolean indenting)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getIndentMode()
Deprecated.
|
void |
setIndentMode(boolean value)
Deprecated.
|
String |
write(boolean b)
Deprecated.
|
String |
write(char c)
Deprecated.
|
Object |
write(double d)
Deprecated.
|
String |
write(long n)
Deprecated.
|
String |
write(Object object)
Deprecated.
|
void |
writeLimited(Class<?> klass,
Object object,
String[] properties)
Deprecated.
Write only a certain subset of the object's properties and fields.
|
public JSONWriter()
public JSONWriter(boolean indenting)
public boolean getIndentMode()
public void setIndentMode(boolean value)
public String write(long n)
public Object write(double d)
public String write(char c)
public String write(boolean b)
public void writeLimited(Class<?> klass, Object object, String[] properties)
klass
- the class to look up properties etc inobject
- the objectproperties
- explicit list of property/field names to include - may be null for "all"Copyright © 2024 Broadcom Inc. and its subsidiaries.. All rights reserved.