public class JsonArrayBuilder
extends AbstractInternalObject
| Constructor and Description |
|---|
JsonArrayBuilder(JavaFormula jf) |
| Modifier and Type | Method and Description |
|---|---|
JsonArrayBuilder |
add(DbBigInt value)
Adds a integer value to the array
|
JsonArrayBuilder |
add(DbBit value)
Adds a boolean value to the array
|
JsonArrayBuilder |
add(DbChar value)
Adds a String value to the array
|
JsonArrayBuilder |
add(DbDouble value)
Adds a number value to the array
|
JsonArrayBuilder |
add(fCurrency value)
Adds a currency value to the array
|
JsonArrayBuilder |
add(fJsonArray value)
Adds a JsonArray value to the array
|
JsonArrayBuilder |
add(fJsonObject value)
Adds a JsonObject value to the array
|
JsonArrayBuilder |
addNull()
Adds a NULL value to the array
|
JsonArrayBuilder |
addNull(DbBigInt index)
Adds a NULL value to the array at the specified position.
|
fJsonArray |
end() |
fJsonArray |
parse(DbChar s)
Returns a JSON array that is represented in the input string.
|
JsonArrayBuilder |
start()
This is the first method to call to start building a JsonArray.
|
public JsonArrayBuilder start()
public JsonArrayBuilder add(DbChar value)
value - the string valuepublic JsonArrayBuilder add(DbBigInt value)
value - the integer valuepublic JsonArrayBuilder add(DbDouble value)
value - the number valuepublic JsonArrayBuilder add(fCurrency value)
value - the currency valuepublic JsonArrayBuilder add(DbBit value)
value - the boolean valuepublic JsonArrayBuilder add(fJsonObject value)
value - the JsonObject valuepublic JsonArrayBuilder add(fJsonArray value)
value - the JsonArray valuepublic JsonArrayBuilder addNull()
public JsonArrayBuilder addNull(DbBigInt index)
index - public fJsonArray parse(DbChar s)
s - public fJsonArray end()