@Deprecated
    @Restricted(DoNotUse.class)
    public static String resolve(ConfigurationContext context, String toInterpolate) {
        return context.getSecretSourceResolver().resolve(toInterpolate);
    }
@Test
    public void resolve_Json() {
        String input = "{ \"a\": 1, \"b\": 2 }";
        environment.set("FOO", input);
        String output = resolve("${json:a:${FOO}}");
        assertThat(output, equalTo("1"));
    }