Class Jackson3SnapshotSerializer
java.lang.Object
au.com.origin.snapshots.jackson3.serializers.v1.Jackson3SnapshotSerializer
- All Implemented Interfaces:
au.com.origin.snapshots.serializers.SnapshotSerializer,BiFunction<Object,au.com.origin.snapshots.SnapshotSerializerContext, au.com.origin.snapshots.Snapshot>
- Direct Known Subclasses:
DeterministicJackson3SnapshotSerializer
public class Jackson3SnapshotSerializer
extends Object
implements au.com.origin.snapshots.serializers.SnapshotSerializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionau.com.origin.snapshots.Snapshotprotected tools.jackson.databind.json.JsonMapper.Builderconfigure(tools.jackson.databind.json.JsonMapper.Builder builder) protected booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
Jackson3SnapshotSerializer
public Jackson3SnapshotSerializer()
-
-
Method Details
-
configure
protected tools.jackson.databind.json.JsonMapper.Builder configure(tools.jackson.databind.json.JsonMapper.Builder builder) -
shouldFindAndRegisterModules
protected boolean shouldFindAndRegisterModules() -
apply
public au.com.origin.snapshots.Snapshot apply(Object object, au.com.origin.snapshots.SnapshotSerializerContext gen) - Specified by:
applyin interfaceBiFunction<Object,au.com.origin.snapshots.SnapshotSerializerContext, au.com.origin.snapshots.Snapshot>
-
getOutputFormat
- Specified by:
getOutputFormatin interfaceau.com.origin.snapshots.serializers.SnapshotSerializer
-