次の方法で共有


Json.Decode メソッド

定義

オーバーロード

Decode(String)

JSON (JavaScript Object Notation) 形式のデータをデータ オブジェクトに変換します。

Decode(String, Type)

JSON (JavaScript Object Notation) 形式のデータを、指定された型のデータ オブジェクトに変換します。

Decode<T>(String)

JSON (JavaScript Object Notation) 形式のデータを、厳密に型指定された指定のデータ リストに変換します。

Decode(String)

JSON (JavaScript Object Notation) 形式のデータをデータ オブジェクトに変換します。

public static dynamic Decode (string value);
static member Decode : string -> obj
Public Shared Function Decode (value As String) As Object

パラメーター

value
String

変換する JSON エンコードされた文字列。

戻り値

データ オブジェクトに変換された JSON エンコード データ。

適用対象

Decode(String, Type)

JSON (JavaScript Object Notation) 形式のデータを、指定された型のデータ オブジェクトに変換します。

public static dynamic Decode (string value, Type targetType);
static member Decode : string * Type -> obj
Public Shared Function Decode (value As String, targetType As Type) As Object

パラメーター

value
String

変換する JSON エンコードされた文字列。

targetType
Type

データを value 変換する必要がある型。

戻り値

指定された型に変換された JSON エンコード データ。

適用対象

Decode<T>(String)

JSON (JavaScript Object Notation) 形式のデータを、厳密に型指定された指定のデータ リストに変換します。

public static T Decode<T> (string value);
static member Decode : string -> 'T
Public Shared Function Decode(Of T) (value As String) As T

型パラメーター

T

JSON データの変換先となる厳密に型指定されたリストの種類。

パラメーター

value
String

変換する JSON エンコードされた文字列。

戻り値

T

厳密に型指定されたリストに変換された JSON エンコード データ。

適用対象