gt; > On Mar 11, 2016, at 7:15 AM, Caires Vinicius <caire...@gmail.com> wrote:
> >
> > I have one DataFrame with nested StructField and I want to convert to
> JSON String. There is anyway to accomplish this?
>
>
, Mar 11, 2016 at 1:53 PM Tristan Nixon <st...@memeticlabs.org> wrote:
> Have you looked at DataFrame.write.json( path )?
>
> https://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.sql.DataFrameWriter
>
> > On Mar 11, 2016, at 7:15 AM, Caires Vinicius &l
I have one DataFrame with nested StructField and I want to convert to JSON
String. There is anyway to accomplish this?