code: @Override
      protected void write(JsonGenerator g, JacksonJrsTreeCodec codec) throws IOException
      {
          switch (numberType()) {
          case INT:
              g.writeNumber(_value.intValue());
              break;
          case LONG:
              g.writeNumber(_value.longValue());
              break;
          case BIG_INTEGER:
              g.writeNumber((BigInteger) _value);
              break;
          case FLOAT:
              g.writeNumber(_value.floatValue());
              break;
          case BIG_DECIMAL:
              g.writeNumber((BigDecimal) _value);
              break;
          case DOUBLE:
          default:
              g.writeNumber(_value.doubleValue());
              break;
          }
      }
docs: /*
  ********************************************************************
  /* Abstract methods
  ********************************************************************