My app makes another software for its purpose and has a dynamic json file that needs to be presented to the user to copy and paste.
I have the json file, and the code, and the user needs to be able to copy that json file exactly as it is.
When I try to include the large json file in my JSX, the syntax goes crazy and throws errors.
What do I need to include in my JSX so that it can display my json data exactly as the json data is written.
Or, how would I set a var myFile = myFile.json and then display that file in my component so that the user can copy and paste it?