다음을 통해 공유


Functions.FromJson 메서드

정의

오버로드

FromJson(Column, Column, Dictionary<String,String>)

JSON 문자열이 포함된 열을 지정된 스키마를 StructType 사용하여 또는 ArrayTypeStructType열로 구문 분석합니다.

FromJson(Column, String, Dictionary<String,String>)

JSON 문자열이 포함된 열을 지정된 스키마를 StructType 사용하여 또는 ArrayTypeStructType열로 구문 분석합니다.

FromJson(Column, Column, Dictionary<String,String>)

JSON 문자열이 포함된 열을 지정된 스키마를 StructType 사용하여 또는 ArrayTypeStructType열로 구문 분석합니다.

[Microsoft.Spark.Since("2.4.0")]
public static Microsoft.Spark.Sql.Column FromJson(Microsoft.Spark.Sql.Column column, Microsoft.Spark.Sql.Column schema, System.Collections.Generic.Dictionary<string,string> options = default);
[<Microsoft.Spark.Since("2.4.0")>]
static member FromJson : Microsoft.Spark.Sql.Column * Microsoft.Spark.Sql.Column * System.Collections.Generic.Dictionary<string, string> -> Microsoft.Spark.Sql.Column
Public Shared Function FromJson (column As Column, schema As Column, Optional options As Dictionary(Of String, String) = Nothing) As Column

매개 변수

column
Column

JSON 데이터를 포함하는 문자열 열

schema
Column

JSON 문자열을 구문 분석할 때 사용할 스키마

options
Dictionary<String,String>

JSON 구문 분석 옵션

반환

Column 개체

특성

적용 대상

FromJson(Column, String, Dictionary<String,String>)

JSON 문자열이 포함된 열을 지정된 스키마를 StructType 사용하여 또는 ArrayTypeStructType열로 구문 분석합니다.

public static Microsoft.Spark.Sql.Column FromJson(Microsoft.Spark.Sql.Column column, string schema, System.Collections.Generic.Dictionary<string,string> options = default);
static member FromJson : Microsoft.Spark.Sql.Column * string * System.Collections.Generic.Dictionary<string, string> -> Microsoft.Spark.Sql.Column
Public Shared Function FromJson (column As Column, schema As String, Optional options As Dictionary(Of String, String) = Nothing) As Column

매개 변수

column
Column

적용할 열

schema
String

스키마에 대한 JSON 형식 문자열 또는 DDL 형식 문자열

options
Dictionary<String,String>

JSON 구문 분석 옵션

반환

Column 개체

적용 대상