@Test
    public void mismatchSchemaJson() {
        // If we have mismatching schema info, we should properly convert to a DataException
        assertThrows(DataException.class,
            () -> converter.fromConnectData(TOPIC, Schema.FLOAT64_SCHEMA, true));
    }
When schemas are disabled, fields are mapped to Connect maps.
connect/json/src/test/java/org/apache/kafka/connect/json/JsonConverterTest.java