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.
  • Constructor Details

    • Base

      public Base()
  • Method Details

    • numberType

      public void numberType(com.fasterxml.jackson.core.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 be Date or Enum, in addition to actual numeric types like Integer).
      Specified by:
      numberType in interface JsonIntegerFormatVisitor