public void shouldDecodeEmptyCommonString() {
ByteBuf content = Unpooled.copiedBuffer("\"\"", CharsetUtil.UTF_8);
JsonStringDocument decoded = converter.decode("id", content, 0, 0, TranscoderUtils.JSON_COMPAT_FLAGS,
ResponseStatus.SUCCESS);
assertEquals("", decoded.content());
}
@Test
public void shouldDecodeLegacyStringWithQuotes() {
ByteBuf content = Unpooled.copiedBuffer("\"value\"", CharsetUtil.UTF_8);