Based on Configurator Specification in OSGI Compendium we can specify configuration using json files.
It is also mentioned that default config location can be changed from OSGI-INF/configurator to other places using @RequireConfigurator("resources/configs").
But it didn't work for me, I'm not sure if I'm missing something. Below a screenshot that shows where file is located and also the content of package-info.java