@Test
    public void simpleObject() {
        String str = "{\"favourite\": {\n" +
                "  \"food\": \"prime rat fillet\",\n" +
                "  \"drink\": \"quirmian cognac\"\n" +
                "}}";

        JsonObject jso = new JsonObject(str);
        VertxEngineConfig vxConf = new VertxEngineConfig(jso);

        Map<String, String> expected = Map.of(
            "favourite.food", "prime rat fillet",
            "favourite.drink", "quirmian cognac"
        );

        Map<String, String> actual = new LinkedHashMap<>();
        vxConf.jsonMapToProperties("", jso, actual);
        Assert.assertEquals(expected, actual);
    }
Test conversion of JSON to properties map

@author Marc Savy {@literal <msavy@redhat.com>}
gateway/platforms/vertx3/vertx3/src/test/java/io/apiman/gateway/platforms/vertx3/common/config/JsonMapToPropertiesTest.java