@Test
    public void shouldFailToParseStringOfMalformedMap() {
        assertThrows(DataException.class,
            () -> Values.convertToMap(Schema.STRING_SCHEMA, " { \"foo\" :  1234567890 , \"a\", \"bar\" : 0,  \"baz\" : -987654321 }  "));
    }
This is technically invalid JSON, and we don't want to simply ignore the malformed entry.
connect/api/src/test/java/org/apache/kafka/connect/data/ValuesTest.java