Returns a string corresponding to the JToken if possible.
public static string? AsString(this JToken? jToken)
This method returns null if the JToken is null, or if it doesn't contain a string.
- class JTokenUtility
- namespace Faithlife.Json
Returns a string corresponding to the JToken if possible.
public static string? AsString(this JToken? jToken)
This method returns null if the JToken is null, or if it doesn't contain a string.