pvignesh92
Honored Contributor

Hi @David Toft​ Will the df.write.json help you here to store your json variable to the path as that can avoid the issues you are facing using df.write.text.