C# Класс Batch.Internal.JsonDataExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
GetBool ( this jsonData, string key, bool defaultValue ) : bool
GetInt ( this jsonData, string key, int defaultValue ) : int
GetLong ( this jsonData, string key, long defaultValue ) : long
GetString ( this jsonData, string key, string defaultValue ) : string
HasKey ( this jsonData, string key ) : bool

Описание методов

GetBool() публичный статический метод

public static GetBool ( this jsonData, string key, bool defaultValue ) : bool
jsonData this
key string
defaultValue bool
Результат bool

GetInt() публичный статический метод

public static GetInt ( this jsonData, string key, int defaultValue ) : int
jsonData this
key string
defaultValue int
Результат int

GetLong() публичный статический метод

public static GetLong ( this jsonData, string key, long defaultValue ) : long
jsonData this
key string
defaultValue long
Результат long

GetString() публичный статический метод

public static GetString ( this jsonData, string key, string defaultValue ) : string
jsonData this
key string
defaultValue string
Результат string

HasKey() публичный статический метод

public static HasKey ( this jsonData, string key ) : bool
jsonData this
key string
Результат bool