Module tools.jackson.databind
Class JsonIntegerFormatVisitor.Base
java.lang.Object
tools.jackson.databind.jsonFormatVisitors.JsonValueFormatVisitor.Base
tools.jackson.databind.jsonFormatVisitors.JsonIntegerFormatVisitor.Base
- All Implemented Interfaces:
JsonIntegerFormatVisitor,JsonValueFormatVisitor
- Enclosing interface:
- JsonIntegerFormatVisitor
public static class JsonIntegerFormatVisitor.Base
extends JsonValueFormatVisitor.Base
implements JsonIntegerFormatVisitor
Default "empty" implementation, useful as the base to start on;
especially as it is guaranteed to implement all the method
of the interface, even if new methods are getting added.
-
Nested Class Summary
Nested classes/interfaces inherited from interface tools.jackson.databind.jsonFormatVisitors.JsonIntegerFormatVisitor
JsonIntegerFormatVisitor.BaseNested classes/interfaces inherited from interface tools.jackson.databind.jsonFormatVisitors.JsonValueFormatVisitor
JsonValueFormatVisitor.Base -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethods inherited from class tools.jackson.databind.jsonFormatVisitors.JsonValueFormatVisitor.Base
enumTypes, formatMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tools.jackson.databind.jsonFormatVisitors.JsonValueFormatVisitor
enumTypes, format
-
Constructor Details
-
Base
public Base()
-
-
Method Details
-
numberType
Description copied from interface:JsonIntegerFormatVisitorMethod called to provide more exact type of number being serialized (regardless of logical type, which may beDateorEnum, in addition to actual numeric types likeInteger).- Specified by:
numberTypein interfaceJsonIntegerFormatVisitor
-