@Test
public void shouldDecodeMixedJsonValues() throws Exception {
ByteBuf content = Unpooled.copiedBuffer("{\"boolean\":true,\"integer\":1,\"string\":\"Hello World\"," +
"\"double\":11.3322,\"long\":9223372036854775807}", CharsetUtil.UTF_8);
JsonDocument decoded = converter.decode("id", content, 0, 0, TranscoderUtils.JSON_COMMON_FLAGS, ResponseStatus.SUCCESS);
JsonObject found = decoded.content();
assertFalse(found.isEmpty());
assertEquals(5, found.size());
assertEquals(true, found.getBoolean("boolean"));
assertEquals(1, (int) found.getInt("integer"));