public static <T> T toObj(byte[] json, Class<T> cls) {
        try {
            return mapper.readValue(json, cls);
        } catch (Exception e) {
            throw new NacosDeserializationException(cls, e);
        }
    }
@Test
    void testToObject15() {
        assertEquals("null", JacksonUtils.toObj("null").asText());
        assertEquals("string", JacksonUtils.toObj("\"string\"").asText());
        assertEquals(30, JacksonUtils.toObj("30").asInt());
        assertEquals("value", JacksonUtils.toObj("{\"key\":\"value\"}").get("key").asText());
        assertEquals("value", JacksonUtils.toObj("[{\"key\":\"value\"}]").get(0).get("key").asText());
        
        JsonNode jsonNode = JacksonUtils.toObj("{\"aLong\":0,\"aInteger\":1,\"aBoolean\":false}");
        assertEquals(0L, jsonNode.get("aLong").asLong());
        assertEquals(1, jsonNode.get("aInteger").asInt());
    }