java.lang.Object
org.eclipse.yasson.internal.ProcessingContext
- Direct Known Subclasses:
DeserializationContextImpl
,SerializationContextImpl
Jsonb processing (serializing/deserializing) context.
Instance is thread bound (in contrast to
JsonbContext
.-
Constructor Summary
ConstructorDescriptionProcessingContext
(JsonbContext jsonbContext) Parent for marshaller and unmarshaller. -
Method Summary
Modifier and TypeMethodDescriptionboolean
addProcessedObject
(Object object) Adds currently processed object to theSet
.Jsonb context.Mapping context.boolean
removeProcessedObject
(Object object) Removes processed object from theSet
.
-
Constructor Details
-
ProcessingContext
Parent for marshaller and unmarshaller.- Parameters:
jsonbContext
- context of Jsonb
-
-
Method Details
-
getJsonbContext
Jsonb context.- Returns:
- jsonb context
-
getMappingContext
Mapping context.- Returns:
- mapping context
-
addProcessedObject
Adds currently processed object to theSet
.- Parameters:
object
- processed object- Returns:
- if object was added
-
removeProcessedObject
Removes processed object from theSet
.- Parameters:
object
- processed object- Returns:
- if object was removed
-