|
|
|
@ -91,11 +91,6 @@ public class JacksonProperties { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private final Map<JsonWriteFeature, Boolean> write = new EnumMap<>(JsonWriteFeature.class); |
|
|
|
private final Map<JsonWriteFeature, Boolean> write = new EnumMap<>(JsonWriteFeature.class); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* Jackson on/off features for DateTime processing. |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
private final Map<DateTimeFeature, Boolean> datetime = new EnumMap<>(DateTimeFeature.class); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Controls the inclusion of properties during serialization. Configured with one of |
|
|
|
* Controls the inclusion of properties during serialization. Configured with one of |
|
|
|
* the values in Jackson's JsonInclude.Include enumeration. |
|
|
|
* the values in Jackson's JsonInclude.Include enumeration. |
|
|
|
@ -166,10 +161,6 @@ public class JacksonProperties { |
|
|
|
return this.write; |
|
|
|
return this.write; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public Map<DateTimeFeature, Boolean> getDatetime() { |
|
|
|
|
|
|
|
return this.datetime; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public JsonInclude.@Nullable Include getDefaultPropertyInclusion() { |
|
|
|
public JsonInclude.@Nullable Include getDefaultPropertyInclusion() { |
|
|
|
return this.defaultPropertyInclusion; |
|
|
|
return this.defaultPropertyInclusion; |
|
|
|
} |
|
|
|
} |
|
|
|
@ -251,6 +242,11 @@ public class JacksonProperties { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private final Map<JsonNodeFeature, Boolean> jsonNode = new EnumMap<>(JsonNodeFeature.class); |
|
|
|
private final Map<JsonNodeFeature, Boolean> jsonNode = new EnumMap<>(JsonNodeFeature.class); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* Jackson on/off features for DateTimes. |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
private final Map<DateTimeFeature, Boolean> datetime = new EnumMap<>(DateTimeFeature.class); |
|
|
|
|
|
|
|
|
|
|
|
public Map<EnumFeature, Boolean> getEnum() { |
|
|
|
public Map<EnumFeature, Boolean> getEnum() { |
|
|
|
return this.enumFeatures; |
|
|
|
return this.enumFeatures; |
|
|
|
} |
|
|
|
} |
|
|
|
@ -259,6 +255,10 @@ public class JacksonProperties { |
|
|
|
return this.jsonNode; |
|
|
|
return this.jsonNode; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Map<DateTimeFeature, Boolean> getDatetime() { |
|
|
|
|
|
|
|
return this.datetime; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|