json

fun json(file: String): DataFrame(source)
fun json(file: Path): DataFrame(source)
fun json(file: String, mode: JSON.Mode, schema: StructType): DataFrame(source)
fun json(file: Path, mode: JSON.Mode, schema: StructType): DataFrame(source)

Reads a JSON file.