diff --git a/evcache-core/src/main/java/com/netflix/evcache/EVCacheSerializingTranscoder.java b/evcache-core/src/main/java/com/netflix/evcache/EVCacheSerializingTranscoder.java index 599387cd..0235b81b 100644 --- a/evcache-core/src/main/java/com/netflix/evcache/EVCacheSerializingTranscoder.java +++ b/evcache-core/src/main/java/com/netflix/evcache/EVCacheSerializingTranscoder.java @@ -149,9 +149,6 @@ public CachedData encode(Object o) { int flags = 0; if (o instanceof String) { b = encodeString((String) o); - if (StringUtils.isJsonObject((String) o)) { - return new CachedData(flags, b, getMaxSize()); - } } else if (o instanceof Long) { b = tu.encodeLong((Long) o); flags |= SPECIAL_LONG;