Module tools.jackson.databind
Class JsonNumberFormatVisitor.Base
java.lang.Object
tools.jackson.databind.jsonFormatVisitors.JsonValueFormatVisitor.Base
tools.jackson.databind.jsonFormatVisitors.JsonNumberFormatVisitor.Base
- All Implemented Interfaces:
JsonNumberFormatVisitor,JsonValueFormatVisitor
- Enclosing interface:
- JsonNumberFormatVisitor
public static class JsonNumberFormatVisitor.Base
extends JsonValueFormatVisitor.Base
implements JsonNumberFormatVisitor
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.JsonNumberFormatVisitor
JsonNumberFormatVisitor.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:JsonNumberFormatVisitorMethod 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 interfaceJsonNumberFormatVisitor
-