Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
b6c89e3857
@ -25,6 +25,7 @@ public class JsonConfig implements ApplicationRunner {
|
||||
public HttpMessageConverters fastJsonHttpMessageConverters() {
|
||||
FastJsonHttpMessageConverter converter = new FastJsonHttpMessageConverter();
|
||||
converter.getFastJsonConfig().setWriterFeatures(Feature.WriteByteArrayAsBase64);
|
||||
converter.getFastJsonConfig().setWriterFeatures(Feature.WriteEnumsUsingName);
|
||||
converter.getFastJsonConfig().setReaderFeatures(JSONReader.Feature.Base64StringAsByteArray);
|
||||
return new HttpMessageConverters(converter);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user