Serializable
public class JSONFunction extends Object implements Serializable
Constructor | Description |
---|---|
JSONFunction(String text) |
Constructs a JSONFunction with no parameters.
|
JSONFunction(String[] params,
String text) |
Constructs a JSONFunction with parameters.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object obj) |
|
String[] |
getParams() |
Returns the parameters of this function.
|
String |
getText() |
Reeturns the text of this function.
|
int |
hashCode() |
|
static JSONFunction |
parse(String str) |
Constructs a JSONFunction from a text representation
|
String |
toString() |
Returns the string representation of this function.
|
public JSONFunction(String text)
text
- The text of the functionpublic static JSONFunction parse(String str)
public String[] getParams()
public String getText()
Copyright © 2006–2019 Json-lib. All rights reserved.