public class JSONObject
extends Object
-
Constructor Summary
Constructors
-
Method Summary
void
addArray(String propertyName,
boolean[] array,
int numTabs,
boolean newLine,
boolean comma)
void
addArray(String propertyName,
char[] array,
int numTabs,
boolean newLine,
boolean comma)
void
addArray(String propertyName,
double[] array,
int numTabs,
boolean newLine,
boolean comma)
void
addArray(String propertyName,
float[] array,
int numTabs,
boolean newLine,
boolean comma)
void
addArray(String propertyName,
int[] array,
int numTabs,
boolean newLine,
boolean comma)
void
void
<T> void
addList(String propertyName,
List<T> list,
int numTabs,
boolean newLine,
boolean comma)
void
void
addVar(String propertyName,
boolean value,
int numTabs,
boolean newLine,
boolean comma)
void
addVar(String propertyName,
char value,
int numTabs,
boolean newLine,
boolean comma)
void
addVar(String propertyName,
double value,
int numTabs,
boolean newLine,
boolean comma)
void
addVar(String propertyName,
float value,
int numTabs,
boolean newLine,
boolean comma)
void
addVar(String propertyName,
int value,
int numTabs,
boolean newLine,
boolean comma)
void
void
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
JSONObject
public JSONObject()
-
Method Details
-
-
startJSON
public void startJSON()
-
endJSON
public void endJSON()
-
addObject
public void addObject(String propertyName,
Object obj,
int numTabs,
boolean newLine,
boolean comma)
-
addVar
public void addVar(String propertyName,
int value,
int numTabs,
boolean newLine,
boolean comma)
-
addVar
public void addVar(String propertyName,
float value,
int numTabs,
boolean newLine,
boolean comma)
-
addVar
public void addVar(String propertyName,
String value,
int numTabs,
boolean newLine,
boolean comma)
-
addVar
public void addVar(String propertyName,
double value,
int numTabs,
boolean newLine,
boolean comma)
-
addVar
public void addVar(String propertyName,
char value,
int numTabs,
boolean newLine,
boolean comma)
-
addVar
public void addVar(String propertyName,
boolean value,
int numTabs,
boolean newLine,
boolean comma)
-
addArray
public void addArray(String propertyName,
String[] array,
int numTabs,
boolean newLine,
boolean comma)
-
addArray
public void addArray(String propertyName,
float[] array,
int numTabs,
boolean newLine,
boolean comma)
-
addArray
public void addArray(String propertyName,
int[] array,
int numTabs,
boolean newLine,
boolean comma)
-
addArray
public void addArray(String propertyName,
double[] array,
int numTabs,
boolean newLine,
boolean comma)
-
addArray
public void addArray(String propertyName,
char[] array,
int numTabs,
boolean newLine,
boolean comma)
-
addArray
public void addArray(String propertyName,
boolean[] array,
int numTabs,
boolean newLine,
boolean comma)
-
addArray
public void addArray(String propertyName,
Object[] array,
int numTabs,
boolean newLine,
boolean comma)
-
addList
public <T> void addList(String propertyName,
List<T> list,
int numTabs,
boolean newLine,
boolean comma)