Commit 47e59bba authored by 杨锐's avatar 杨锐

remove HttpConfig DeserializationFeature.FAIL_ON_NUMBERS_FOR_ENUMS.

parent 6cd08ea2
...@@ -83,7 +83,6 @@ public class HttpConfig { ...@@ -83,7 +83,6 @@ public class HttpConfig {
.defaultViewInclusion(false) .defaultViewInclusion(false)
.serializationInclusion(JsonInclude.Include.NON_NULL) .serializationInclusion(JsonInclude.Include.NON_NULL)
.featuresToEnable(SerializationFeature.WRITE_ENUMS_USING_INDEX, .featuresToEnable(SerializationFeature.WRITE_ENUMS_USING_INDEX,
DeserializationFeature.FAIL_ON_NUMBERS_FOR_ENUMS,
DeserializationFeature.ACCEPT_EMPTY_STRING_AS_NULL_OBJECT); DeserializationFeature.ACCEPT_EMPTY_STRING_AS_NULL_OBJECT);
return builder; return builder;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment