Class UrlContext
Tool to support URL context.
public record UrlContext : IEquatable<UrlContext>
- Inheritance
-
UrlContext
- Implements
- Inherited Members
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a UrlContext object.
public static UrlContext? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- UrlContext
The deserialized UrlContext object, or null if deserialization fails.