How to add string from JSON fiile to strings.xml

hi so im trying to add google-services.JSON strings to strings.xml while the app is been built
should i do it in compiler.java ?
idk how to do it exactly could you please guide me