public interface JsonBuilderFactory
Modifier and Type | Method and Description |
---|---|
JsonArrayBuilder |
createArrayBuilder() |
default JsonArrayBuilder |
createArrayBuilder(Collection<?> initialData)
Create a
JsonArrayBuilder which is filled with the given initial content. |
default JsonArrayBuilder |
createArrayBuilder(JsonArray initialData)
Create a JsonArrayBuilder filled with the given initial data.
|
JsonObjectBuilder |
createObjectBuilder() |
default JsonObjectBuilder |
createObjectBuilder(JsonObject initialData)
Create a JsonObjectBuilder filled with the given initial data.
|
default JsonObjectBuilder |
createObjectBuilder(Map<String,Object> initialData)
Create a JsonObjectBuilder filled with the given initial data.
|
Map<String,?> |
getConfigInUse() |
JsonObjectBuilder createObjectBuilder()
JsonArrayBuilder createArrayBuilder()
Map<String,?> getConfigInUse()
default JsonObjectBuilder createObjectBuilder(JsonObject initialData)
NullPointerException
- if initialData is null
default JsonObjectBuilder createObjectBuilder(Map<String,Object> initialData)
NullPointerException
- if initialData is null
default JsonArrayBuilder createArrayBuilder(JsonArray initialData)
NullPointerException
- if initialData is null
default JsonArrayBuilder createArrayBuilder(Collection<?> initialData)
JsonArrayBuilder
which is filled with the given initial content.initialData
- the content to immediately add to the JsonArrayBuilderNullPointerException
- if initialData is null
Copyright © 2010 - 2020 Adobe. All Rights Reserved