You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Prabha K <pr...@gmail.com> on 2017/12/12 06:44:28 UTC

Json to csv

Any help on converting json to csv or flattering the json file. Json file has one struts and multiple arrays.
Thanks 
Pk 

Sent from my iPhone
---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscribe@spark.apache.org


Re: Json to csv

Posted by Subhash Sriram <su...@gmail.com>.
I was curious about this too, and found this. You may find it helpful:

http://www.tegdesign.com/converting-a-nested-json-document-to-csv-using-scala-hadoop-and-apache-spark/

Thanks,
Subhash 

Sent from my iPhone

> On Dec 12, 2017, at 1:44 AM, Prabha K <pr...@gmail.com> wrote:
> 
> Any help on converting json to csv or flattering the json file. Json file has one struts and multiple arrays.
> Thanks 
> Pk 
> 
> Sent from my iPhone
> ---------------------------------------------------------------------
> To unsubscribe e-mail: user-unsubscribe@spark.apache.org
>