Package org.apache.johnzon.core
Class JsonReaderFactoryImpl
- java.lang.Object
-
- org.apache.johnzon.core.AbstractJsonFactory
-
- org.apache.johnzon.core.JsonReaderFactoryImpl
-
- All Implemented Interfaces:
jakarta.json.JsonReaderFactory
,Serializable
class JsonReaderFactoryImpl extends AbstractJsonFactory implements jakarta.json.JsonReaderFactory
-
-
Field Summary
Fields Modifier and Type Field Description private JsonParserFactoryImpl
parserFactory
private JsonProviderImpl
provider
private RejectDuplicateKeysMode
rejectDuplicateKeys
(package private) static Collection<String>
SUPPORTED_CONFIG_KEYS
-
Fields inherited from class org.apache.johnzon.core.AbstractJsonFactory
BUFFER_STRATEGY, DEFAULT_BUFFER_STRATEGY, ENCODING, internalConfig
-
-
Constructor Summary
Constructors Constructor Description JsonReaderFactoryImpl(Map<String,?> config, JsonProviderImpl provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.json.JsonReader
createReader(jakarta.json.stream.JsonParser parser)
jakarta.json.JsonReader
createReader(InputStream in)
jakarta.json.JsonReader
createReader(InputStream in, Charset charset)
jakarta.json.JsonReader
createReader(Reader reader)
Map<String,?>
getConfigInUse()
-
Methods inherited from class org.apache.johnzon.core.AbstractJsonFactory
getBool, getBufferProvider, getInt, getString
-
-
-
-
Field Detail
-
SUPPORTED_CONFIG_KEYS
static final Collection<String> SUPPORTED_CONFIG_KEYS
-
parserFactory
private final JsonParserFactoryImpl parserFactory
-
rejectDuplicateKeys
private final RejectDuplicateKeysMode rejectDuplicateKeys
-
provider
private JsonProviderImpl provider
-
-
Constructor Detail
-
JsonReaderFactoryImpl
JsonReaderFactoryImpl(Map<String,?> config, JsonProviderImpl provider)
-
-
Method Detail
-
createReader
public jakarta.json.JsonReader createReader(Reader reader)
- Specified by:
createReader
in interfacejakarta.json.JsonReaderFactory
-
createReader
public jakarta.json.JsonReader createReader(InputStream in)
- Specified by:
createReader
in interfacejakarta.json.JsonReaderFactory
-
createReader
public jakarta.json.JsonReader createReader(InputStream in, Charset charset)
- Specified by:
createReader
in interfacejakarta.json.JsonReaderFactory
-
createReader
public jakarta.json.JsonReader createReader(jakarta.json.stream.JsonParser parser)
-
-