C# Class Batch.Internal.JsonDataExtensions

Afficher le fichier Open project: BatchLabs/unity-plugin

Méthodes publiques

Méthode Description
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

Method Details

GetBool() public static méthode

public static GetBool ( this jsonData, string key, bool defaultValue ) : bool
jsonData this
key string
defaultValue bool
Résultat bool

GetInt() public static méthode

public static GetInt ( this jsonData, string key, int defaultValue ) : int
jsonData this
key string
defaultValue int
Résultat int

GetLong() public static méthode

public static GetLong ( this jsonData, string key, long defaultValue ) : long
jsonData this
key string
defaultValue long
Résultat long

GetString() public static méthode

public static GetString ( this jsonData, string key, string defaultValue ) : string
jsonData this
key string
defaultValue string
Résultat string

HasKey() public static méthode

public static HasKey ( this jsonData, string key ) : bool
jsonData this
key string
Résultat bool