JedisJsonCacheService extends JedisCacheServiceSupport { public void putObject(String key, Object value) { putObject(key, value,null); }  Object getObject(String key,Class clazz); void putObject(String key, Object value); void putObject(String key, Object value, Long expireTime);  }
@Test public void putObject() { User user = new User("zhuoqiammingyue2",20); jedisJsonCacheService.putObject("user02",user); logger.info("缓存用户成功！"); }