skip to Main Content

quarkus-redis-client – How to insert JSON?

How to insert JSON using quarkus-redis-client? I tried writing the json as a String, but I don't know if it's correct. @Singleton public class EmployeeService { @Inject RedisClient redisClient; public void insert(Employee employee) throws JsonProcessingException{ ObjectMapper mapper = new ObjectMapper();…

VIEW QUESTION
Back To Top
Search