'Can I use a link to Ressource in Json?

Hello I want to create a link in Json to other Json files, that are in my Ressource folder. Can I do that? How?

example:

{
"name": "Category 1",
"linkToJson": R.Ressources.Categories1
}

I want to use it in Android Studio. I have a main category and sub-categories. There will be so many sub-categories, so I want to separate them into individual files.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source