BJSON
Identità
Namespace:
B.BStaticsAssembly:
BFrameworkTipo: class
Sorgente API: versione
5.0.0
Scopo
Espone operazioni statiche riutilizzabili tramite BJSON. Consultare gli overload prima di introdurre una funzione equivalente.
Dichiarazione
public static class BJSON
Campi e costanti
| Nome | Tipo | Natura |
|---|---|---|
DefaultOptions |
JsonSerializerOptions |
static |
DefaultOptionsSettingFile |
JsonSerializerOptions |
static |
Metodi
static T? Deserialize<T>(string json, JsonSerializerOptions? options = null)static object? Deserialize(string json, Type type, JsonSerializerOptions? options = null)static string? GetJsonText(string PathFileJson)static T? GetValue<T>(string Json, string path)static string? GetValueFromJson(string PathFileJson, string key)static string? GetValueFromJsonText(string Json, string key)static string Serialize(object obj, JsonSerializerOptions? options = null)
Esempi
Consultare BJSON - Esempi.
