Spark dataframe to json. In Apache Spark, a data frame is a distributed ...