I have a code where I need to get a json value for the key "product_id" using Jedis but I don't know if jedis.get() operation can output json directly. Here is the code below.
Jedis jedis = pool.getResource(); jedis.select(1); String attributeName = jedis.get(facet); jedis.select(0); JSONObject productJson = jedis.get(productID); String attributeValue = productJson.getString(attributeName);