DataGateCredentialConverter.Read Method
Definition
Namespace: ASNA.DataGate.Providers.Serialization
Assembly: ASNA.QSys.DataGate.Client.dll
Reads the DataGate credentials from a Utf8JsonReader.
IDataGateCredential Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options)
Reads the DataGate credentials from a Utf8JsonReader.
IDataGateCredential Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
| Type | Parameter name | Description |
|---|---|---|
| Utf8JsonReader& | reader | The Utf8JsonReader from which the credentials are deserialized. |
| Type | typeToConvert | The type of the object to convert. |
| JsonSerializerOptions | options | The options for reading the credentials. |
Returns
| Type | Description |
|---|---|
| IDataGateCredential | The deserialized DataGate credentials. |