public class JsonbContext extends Object
| Constructor | Description |
|---|---|
JsonbContext(javax.json.bind.JsonbConfig jsonbConfig,
javax.json.spi.JsonProvider jsonProvider) |
Creates and initialize context.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
addProcessedType(Type bindingTypes) |
|
boolean |
containsProcessedType(Type bindingType) |
Check if type is already being processed lower in call stack.
|
boolean |
genericComponentsPresent() |
Flag for searching for generic serializers and adapters in runtime.
|
AnnotationIntrospector |
getAnnotationIntrospector() |
Gets component for annotation parsing.
|
JsonbComponentInstanceCreator |
getComponentInstanceCreator() |
Implementation creating instances of user components used by JSONB, such as adapters and strategies.
|
ComponentMatcher |
getComponentMatcher() |
Component matcher for lookup of (de)serializers and adapters.
|
javax.json.bind.JsonbConfig |
getConfig() |
Gets
JsonbConfig. |
JsonbConfigProperties |
getConfigProperties() |
|
javax.json.spi.JsonProvider |
getJsonProvider() |
Gets JSONP provider.
|
MappingContext |
getMappingContext() |
Gets mapping context.
|
void |
registerGenericComponentFlag() |
Set flag for searching for generic serializers and adapters in runtime.
|
boolean |
removeProcessedType(Type bindingType) |
public JsonbContext(javax.json.bind.JsonbConfig jsonbConfig,
javax.json.spi.JsonProvider jsonProvider)
jsonbConfig - jsonb jsonbConfig not nulljsonProvider - provider of JSONPpublic javax.json.bind.JsonbConfig getConfig()
JsonbConfig.public MappingContext getMappingContext()
public javax.json.spi.JsonProvider getJsonProvider()
public JsonbComponentInstanceCreator getComponentInstanceCreator()
public ComponentMatcher getComponentMatcher()
public AnnotationIntrospector getAnnotationIntrospector()
public boolean genericComponentsPresent()
public void registerGenericComponentFlag()
public JsonbConfigProperties getConfigProperties()
public boolean addProcessedType(Type bindingTypes)
public boolean removeProcessedType(Type bindingType)
public boolean containsProcessedType(Type bindingType)
JsonbAdapter
or JsonbSerializer are called recursively for same binding type.bindingType - type to checkCopyright © 2017 Oracle Corporation. All rights reserved.