public static <T> T jsonToObject(final String json, final Class<T> valueTypeRef) {
        try {
            return MAPPER.readValue(json, valueTypeRef);
        } catch (IOException e) {
            LOG.warn("write to Object error: " + json, e);
            return null;
        }
    }
@Test
    public void testJsonToObject() {
        TestObject testObject = JsonUtils.jsonToObject(EXPECTED_JSON, TestObject.class);
        assertNotNull(testObject);
        assertEquals(testObject.getName(), "test object");
    }