Hi. there is a large JSON text I want to include i...
# multiplatform
g
Hi. there is a large JSON text I want to include in a library. One option is to include it directly in a kotlin file in some variable, but this did not feel right, also IDE would freeze when I tried to paste so much text. I decided to try moko-resources, but it does not had few compilation targets I wanted. Also it requires platform specific code, for example on Android Context is required to get text So what can go wrong if all the resources is saved not in a Resources folder but inside .kt files? Actually, I already did this in my pet project and it is working okay
y
you could use a terminal command to paste the content in there