File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
avro/src/main/java/tools/jackson/dataformat/avro/schema Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ public class VisitorFormatWrapperImpl
1616 implements JsonFormatVisitorWrapper
1717{
1818 /**
19- * Default value for {@link #_logicalTypesEnabled}: {@code false} will be changed to
20- * {@code true} in 3.0 .
19+ * Default value for {@link #_logicalTypesEnabled}: {@code true}
20+ * for Jackson 3.x (was {@code false} for Jackson 2.x .
2121 */
22- public static final boolean DEFAULT_LOGICAL_TYPES_ENABLED = false ;
22+ public static final boolean DEFAULT_LOGICAL_TYPES_ENABLED = true ;
2323
2424 /**
2525 * Default value for {@link #_writeEnumAsString}: {@code false} as of
26- * Jackson 2.19 and later .
26+ * Jackson 3.0 .
2727 */
2828 public static final boolean DEFAULT_ENUM_AS_STRING = false ;
2929
Original file line number Diff line number Diff line change @@ -27,4 +27,6 @@ implementations)
2727 `IonGenerator.Feature` as `IonWriteFeature`
2828#528: JSTEP-8: rename `SmileParser.Feature` as `SmileReadFeature`,
2929 `SmileGenerator.Feature` as `SmileWriteFeature`
30+ #543: (avro) Enable "logical types" support in `AvroSchemaGenerator`
31+ by default (3.0)
3032- Minimum Java baseline: Java 17
You can’t perform that action at this time.
0 commit comments