Functions.ToJson(Column, Dictionary<String,String>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a column containing a StructType
, ArrayType
of StructType
s,
a MapType
or ArrayType
of MapType
s into a JSON string.
public static Microsoft.Spark.Sql.Column ToJson(Microsoft.Spark.Sql.Column column, System.Collections.Generic.Dictionary<string,string> options = default);
static member ToJson : Microsoft.Spark.Sql.Column * System.Collections.Generic.Dictionary<string, string> -> Microsoft.Spark.Sql.Column
Public Shared Function ToJson (column As Column, Optional options As Dictionary(Of String, String) = Nothing) As Column
Parameters
- column
- Column
Column to apply
- options
- Dictionary<String,String>
Options for JSON conversion
Returns
Column object