public class JSONPObject extends Object implements JSONSerializable
| Constructor and Description |
|---|
JSONPObject() |
JSONPObject(String function) |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(Object parameter) |
String |
getFunction() |
List<Object> |
getParameters() |
void |
setFunction(String function) |
String |
toJSONString() |
String |
toString() |
void |
write(JSONSerializer serializer,
Object fieldName,
Type fieldType,
int features) |
public JSONPObject()
public JSONPObject(String function)
public String getFunction()
public void setFunction(String function)
public void addParameter(Object parameter)
public String toJSONString()
public void write(JSONSerializer serializer, Object fieldName, Type fieldType, int features) throws IOException
write in interface JSONSerializableIOExceptionCopyright © 2012–2020 Alibaba Group. All rights reserved.