spark.read.option( multiline true ).json code example Example: pyspark json multiline spark.read.json(path_to_input, multiLine=True)