public class Tool
extends java.lang.Object
Constructor and Description |
---|
Tool() |
Modifier and Type | Method and Description |
---|---|
static void |
noSpace(java.lang.String string)
Throw an exception if the string contains whitespace.
|
static java.lang.Object |
stringToValue(java.lang.String s)
Try to convert a string into a number, boolean, or null.
|
public static java.lang.Object stringToValue(java.lang.String s)
s
- A String.public static void noSpace(java.lang.String string) throws JSONException
string
- JSONException