Hi, Apologies for missing link in the previous mail. You can follow the below link to save your DataFrame as JSON file.
https://spark.apache.org/docs/latest/api/python/pyspark.sql.html#pyspark.sql.DataFrameWriter.json Regards, Neeraj <https://spark.apache.org/docs/latest/api/python/pyspark.sql.html#pyspark.sql.DataFrameWriter.json> On Sat, May 30, 2020 at 5:01 PM neeraj bhadani <bhadani.neeraj...@gmail.com> wrote: > Hi, > You can follow this to save your DataFrame as JSON file. > > Regards, > Neeraj > > On Sat, May 30, 2020 at 12:44 PM zakaria benzidalmal <zakib...@gmail.com> > wrote: > >> Hi >> >> Just save it as json >> >> Le sam. 30 mai 2020 à 13:15, Chidananda Unchi <chidananda...@gmail.com> >> a écrit : >> >>> Hi All, >>> >>>> >>>> I want to convert dataframe to JSOn Dcoumnet using spark scala. >>>> >>>> Can some one share me sample codes or any suggestions >>>> >>>> Regards, >>>> Chidananda >>>> >>>>