public Object valueFrom(Struct struct) {

        return valueFrom(struct, true);
    }
@Test void shouldReturnNullValueWhenFieldNotFoundInStruct() {
        Schema bazSchema = SchemaBuilder.struct()
            .field("inner", Schema.STRING_SCHEMA)
            .optional()
            .build();
        Schema barSchema = SchemaBuilder.struct()
            .field("bar", Schema.INT32_SCHEMA)
            .field("baz", bazSchema)
            .build();
        Schema schema = SchemaBuilder.struct().field("foo", barSchema).build();
        Struct foo = new Struct(barSchema)
            .put("bar", 42)
            .put("baz", null);
        Struct struct = new Struct(schema).put("foo", foo);

        assertNull(pathV2("un.known").valueFrom(struct));
        assertNull(pathV2("foo.unknown").valueFrom(struct));
        assertNull(pathV2("unknown").valueFrom(struct));
        assertNull(pathV2("foo.baz.inner").valueFrom(struct));
    }