Class JsonIntegerFormatVisitor.Base
- java.lang.Object
-
- com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormatVisitor.Base
-
- com.fasterxml.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 com.fasterxml.jackson.databind.jsonFormatVisitors.JsonIntegerFormatVisitor
JsonIntegerFormatVisitor.Base
-
Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormatVisitor
JsonValueFormatVisitor.Base
-
-
Constructor Summary
Constructors Constructor Description Base()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
numberType(JsonParser.NumberType type)
-
Methods inherited from class com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormatVisitor.Base
enumTypes, format
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormatVisitor
enumTypes, format
-
-
-
-
Method Detail
-
numberType
public void numberType(JsonParser.NumberType type)
Description copied from interface:JsonIntegerFormatVisitor
Method called to provide more exact type of number being serialized (regardless of logical type, which may beDate
orEnum
, in addition to actual numeric types likeInteger
).- Specified by:
numberType
in interfaceJsonIntegerFormatVisitor
-
-