Think of it as jsonl instead of a json file.
Point people at this if they need an official looking spec:
http://jsonlines.org/

One good reason for using this format is you can split mid file easily.
This make it work well with standard unix tools in pipes.


On Sun, 16 Oct 2016 at 16:24 WangJianfei <wangjianfe...@otcaix.iscas.ac.cn>
wrote:

> Thank you very much! I will have a look about your link.
>
>
>
>
> --
> View this message in context:
> http://apache-spark-developers-list.1001551.n3.nabble.com/Why-the-json-file-used-by-sparkSession-read-json-must-be-a-valid-json-object-per-line-tp19464p19466.html
> Sent from the Apache Spark Developers List mailing list archive at
> Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe e-mail: dev-unsubscr...@spark.apache.org
>
>

Reply via email to