ConstrettoConfiguration conf = new ConstrettoBuilder()
.createJsonConfigurationStore()
.addResource(Resource.create("classpath:jsonTest.json"), "person")
.done()
.getConfiguration();
Person person = conf.evaluateWith(new PersonJsonConverter(), "person");
assertEquals(new Person("Kaare", 29), person);
}
@Test
public void jsonShouldAllowNonExistingResources() {