Method FromJson
FromJson(String)
Convert a JSON string to a Credential object.
Declaration
public static Credential FromJson(string json)
Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | json | The JSON string.  | 
    
Returns
| Type | Description | 
|---|---|
| Credential | The credential object, which could be one of:  | 
    
Exceptions
| Type | Condition | 
|---|---|
| System.Runtime.Serialization.SerializationException | The given JSON string is invalid or incomplete.  | 
    
Applies to
Platforms and versions
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 200.5 - 200.8 | 
| .NET | 200.5 - 200.8 | 
| .NET Windows | 200.5 - 200.8 | 
| .NET Android | 200.5 - 200.8 | 
| .NET iOS | 200.5 - 200.8 | 
| .NET Framework | 200.5 - 200.8 | 
| UWP | 200.5 - 200.8 |