How to render .json file from JSON-View?


i just succeded to get my Data in Flow 3.3 with the JSON-View. But for i would need to generate a actual .json file.
Did anyone of you allready implement that? Or knows a Package to do this? Or has a hint for me how to solve?

That would be great,

This seems like a XY-Problem to me?

What is the problem with the JSON-view?

What is the problem with a simple file_put_contents?