Class SafeObjectTransformer
java.lang.Object
ch.qos.logback.classic.kryo.SafeObjectTransformer
Restricts objects to types that are cheap and safe to serialize (strings and
primitive wrappers). Anything else is reduced via
Object.toString().
Used for KVP values and similar free-form fields before Kryo encoding.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSentinel written in place of a null when a non-null object is required. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NULL_PROXY
Sentinel written in place of a null when a non-null object is required.- See Also:
-
-
Constructor Details
-
SafeObjectTransformer
public SafeObjectTransformer()
-