GenericJackson2JsonRedisSerializer
区别在于设置 DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES,false);GenericJackson2JsonRedisSerializer and configures ObjectMapper for default typing.GenericJackson2JsonRedisSerializer and configures ObjectMapper for default typing using the
given name.ObjectMapper is one way to take further control of the JSON serialization
process.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.