public static String substVars(String val, PropertyContainer pc1) throws ScanException {
        return substVars(val, pc1, null);
    }
@Test
    public void curlyBraces_LOGBACK_1101() throws ScanException {
        {
            String input = "foo{bar}";
            String r = OptionHelper.substVars(input, context);
            assertEquals(input, r);
        }
        {
            String input = "{foo{\"bar\"}}";
            String r = OptionHelper.substVars(input, context);
            assertEquals(input, r);
        }
        {
            String input = "a:{y}";
            String r = OptionHelper.substVars(input, context);
            assertEquals(input, r);
        }
        {
            String input = "{world:{yay}}";
            String r = OptionHelper.substVars(input, context);
            assertEquals(input, r);
        }
        {
            String input = "{hello:{world:yay}}";
            String r = OptionHelper.substVars(input, context);
            assertEquals(input, r);
        }
        {
            String input = "{\"hello\":{\"world\":\"yay\"}}";
            String r = OptionHelper.substVars(input, context);
            assertEquals(input, r);
        }
    }