Using adaptresourcefilecontents on forward-slash fully qualified names

I have a JSON file which contains references to classes in my project with their fully qualified names (without the file extension).
The file references them in a “forward-slash” manner and not using dots
ex:
foo/bar/class and not foo.bar.class
I assume this results in adaptresourcefilecontents not being able to remap the references and thus causing my jar to fail on startup.

What can i do to solve this issue?

Hello,

Unfortunately, only names with dots are replaced like com.example.MyClass ; com/example/MyClass is not