Package org.ghotibeaun.json.factory
Class NodeFactory
java.lang.Object
org.ghotibeaun.json.factory.NodeFactory
public final class NodeFactory extends Object
-
Constructor Summary
Constructors Constructor Description NodeFactory()
-
Method Summary
Modifier and Type Method Description static JSONValue<Boolean>
newBooleanValue(boolean value)
static JSONArray
newJSONArray()
static JSONArray
newJSONArray(List<Object> list)
static JSONValue<JSONArray>
newJSONArrayValue(JSONArray value)
static JSONValue<NullObject>
newJSONNullValue()
static JSONObject
newJSONObject()
static JSONObject
newJSONObject(Map<String,?> map)
static JSONValue<JSONObject>
newJSONObjectValue(JSONObject value)
static JSONValue<Number>
newNumberValue(Number value)
static JSONValue<String>
newStringValue(String value)
static JSONNode
parse(String data)
-
Constructor Details
-
NodeFactory
public NodeFactory()
-
-
Method Details
-
newJSONObject
-
newJSONArray
-
newJSONObject
-
newJSONArray
-
newStringValue
-
newNumberValue
-
newBooleanValue
-
newJSONObjectValue
-
newJSONArrayValue
-
newJSONNullValue
-
parse
-