Effective JSON-string creation approach?

Hi there,

I was wondering after trying out various methods what would be the other effective approaches to create json-strings for different scenarios?

I found out for myself creating a struct for each case does the job. But that results in a lot of structs being in my project which get loaded into the function to create the string for http requests.

What would be other good approaches in the industry? Happy to hear about new ideas.

Best wishes