Package org.apache.johnzon.core
Class JsonBuilderFactoryImpl
- java.lang.Object
-
- org.apache.johnzon.core.JsonBuilderFactoryImpl
-
- All Implemented Interfaces:
jakarta.json.JsonBuilderFactory
,Serializable
class JsonBuilderFactoryImpl extends Object implements jakarta.json.JsonBuilderFactory, Serializable
-
-
Field Summary
Fields Modifier and Type Field Description private BufferStrategy.BufferProvider<char[]>
bufferProvider
private Map<String,Object>
internalConfig
private JsonProviderImpl
provider
private RejectDuplicateKeysMode
rejectDuplicateKeysMode
private static List<String>
SUPPORTED_CONFIG_KEYS
-
Constructor Summary
Constructors Modifier Constructor Description protected
JsonBuilderFactoryImpl()
(package private)
JsonBuilderFactoryImpl(Map<String,?> config, BufferStrategy.BufferProvider<char[]> bufferProvider, RejectDuplicateKeysMode rejectDuplicateKeysMode, JsonProviderImpl provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.json.JsonArrayBuilder
createArrayBuilder()
jakarta.json.JsonArrayBuilder
createArrayBuilder(jakarta.json.JsonArray initialData)
jakarta.json.JsonArrayBuilder
createArrayBuilder(Collection<?> initialData)
jakarta.json.JsonObjectBuilder
createObjectBuilder()
jakarta.json.JsonObjectBuilder
createObjectBuilder(jakarta.json.JsonObject initialData)
jakarta.json.JsonObjectBuilder
createObjectBuilder(Map<String,Object> initialValues)
Map<String,?>
getConfigInUse()
-
-
-
Field Detail
-
rejectDuplicateKeysMode
private RejectDuplicateKeysMode rejectDuplicateKeysMode
-
provider
private JsonProviderImpl provider
-
bufferProvider
private BufferStrategy.BufferProvider<char[]> bufferProvider
-
-
Constructor Detail
-
JsonBuilderFactoryImpl
protected JsonBuilderFactoryImpl()
-
JsonBuilderFactoryImpl
JsonBuilderFactoryImpl(Map<String,?> config, BufferStrategy.BufferProvider<char[]> bufferProvider, RejectDuplicateKeysMode rejectDuplicateKeysMode, JsonProviderImpl provider)
-
-
Method Detail
-
createObjectBuilder
public jakarta.json.JsonObjectBuilder createObjectBuilder()
- Specified by:
createObjectBuilder
in interfacejakarta.json.JsonBuilderFactory
-
createObjectBuilder
public jakarta.json.JsonObjectBuilder createObjectBuilder(jakarta.json.JsonObject initialData)
- Specified by:
createObjectBuilder
in interfacejakarta.json.JsonBuilderFactory
-
createArrayBuilder
public jakarta.json.JsonArrayBuilder createArrayBuilder()
- Specified by:
createArrayBuilder
in interfacejakarta.json.JsonBuilderFactory
-
createArrayBuilder
public jakarta.json.JsonArrayBuilder createArrayBuilder(jakarta.json.JsonArray initialData)
- Specified by:
createArrayBuilder
in interfacejakarta.json.JsonBuilderFactory
-
createArrayBuilder
public jakarta.json.JsonArrayBuilder createArrayBuilder(Collection<?> initialData)
- Specified by:
createArrayBuilder
in interfacejakarta.json.JsonBuilderFactory
-
getConfigInUse
public Map<String,?> getConfigInUse()
- Specified by:
getConfigInUse
in interfacejakarta.json.JsonBuilderFactory
-
-