Package com.veeva.vault.sdk.api.json
Interface JsonArrayBuilder
public interface JsonArrayBuilder
Builds
JsonArray
instances.-
Method Summary
-
Method Details
-
add
Adds a value to the end of the building array.- Parameters:
value
- the value to add; must be an instance of a type defined byJsonValueType
- Returns:
- the current builder
-
build
JsonArray build()Returns the builtJsonArray
.You may continue to use the builder after this is called, but any previously added values are cleared out.
- Returns:
- the built
JsonArray
-