|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use JSONNode | |
|---|---|
| weka.core.json | |
| Uses of JSONNode in weka.core.json |
|---|
| Methods in weka.core.json that return JSONNode | |
|---|---|
JSONNode |
JSONNode.addArray(String name)
Adds an array child to the object. |
JSONNode |
JSONNode.addArrayElement(Object value)
Adds an array element child to the array. |
JSONNode |
JSONNode.addNull(String name)
Adds a "null" child to the object. |
JSONNode |
JSONNode.addNullArrayElement()
Adds a null array element child to the array. |
JSONNode |
JSONNode.addObject(String name)
Adds an object child to the object. |
JSONNode |
JSONNode.addPrimitive(String name,
Boolean value)
Adds a key-value child to the object. |
JSONNode |
JSONNode.addPrimitive(String name,
Double value)
Adds a key-value child to the object. |
JSONNode |
JSONNode.addPrimitive(String name,
Integer value)
Adds a key-value child to the object. |
JSONNode |
JSONNode.addPrimitive(String name,
String value)
Adds a key-value child to the object. |
JSONNode |
JSONNode.getChild(String name)
Returns the child with the given name. |
JSONNode |
Parser.getResult()
Returns the JSON data structure. |
static JSONNode |
JSONNode.read(Reader reader)
Reads the JSON object from the given reader. |
static JSONNode |
JSONInstances.toJSON(Instances inst)
Turns the Instances object into a JSON object. |
| Methods in weka.core.json with parameters of type JSONNode | |
|---|---|
static Instances |
JSONInstances.toHeader(JSONNode json)
Turns a JSON object, if possible, into an Instances object (only header). |
static Instances |
JSONInstances.toInstances(JSONNode json)
Turns a JSON object, if possible, into an Instances object. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||