public void shouldDecodeMixedJsonValues() throws Exception {
ByteBuf content = Unpooled.copiedBuffer("[\"Hello World\",1,9223372036854775807,11.3322,true]",
CharsetUtil.UTF_8);
JsonArrayDocument decoded = converter.decode("id", content, 0, 0, TranscoderUtils.JSON_COMMON_FLAGS,
ResponseStatus.SUCCESS);
JsonArray found = decoded.content();
assertFalse(found.isEmpty());
assertEquals(5, found.size());
assertEquals(true, found.getBoolean(4));
assertEquals(1, (int) found.getInt(1));
assertEquals("Hello World", found.getString(0));
assertEquals(11.3322, found.getDouble(3), 0);
assertEquals(Long.MAX_VALUE, (long) found.getLong(2));
}