Class JsonNumberFormatVisitor.Base

java.lang.Object
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormatVisitor.Base
com.fasterxml.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.
  • Constructor Details

    • Base

      public Base()
  • Method Details

    • numberType

      public void numberType(com.fasterxml.jackson.core.JsonParser.NumberType type)
      Description copied from interface: JsonNumberFormatVisitor
      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 JsonNumberFormatVisitor