Share via


DataType.ParseDataType(String) Method

Definition

Parses a JSON string to construct a DataType.

public static Microsoft.Spark.Sql.Types.DataType ParseDataType (string json);
static member ParseDataType : string -> Microsoft.Spark.Sql.Types.DataType
Public Shared Function ParseDataType (json As String) As DataType

Parameters

json
String

JSON string to parse

Returns

The new DataType instance from the JSON string

Applies to