Share via


DataFrame.ToJSON Method

Definition

Returns the content of the DataFrame as a DataFrame of JSON strings.

public Microsoft.Spark.Sql.DataFrame ToJSON ();
member this.ToJSON : unit -> Microsoft.Spark.Sql.DataFrame
Public Function ToJSON () As DataFrame

Returns

DataFrame object with JSON strings.

Applies to