[]
Represents a JSON coder that encodes and decodes objects of type T
to and from JSON variants.
public sealed record JsonCoder<T> : Coder<T, IJsonVariant>, IEquatable<Coder<T, IJsonVariant>>, IEquatable<JsonCoder<T>>
Name | Description |
---|---|
T | The type of objects to be encoded and decoded. |
This record should not be used directly in application code.It is designed for internal operations within the product libraries and may change or be removed in future versions without notice.
Name | Description |
---|---|
JsonCoder(Func<T, IJsonVariant>, Func<IJsonVariant, T>) | Represents a JSON coder that encodes and decodes objects of type |
Name | Description |
---|---|
EqualityContract |
Name | Description |
---|---|
operator ==(JsonCoder<T>?, JsonCoder<T>?) | |
operator !=(JsonCoder<T>?, JsonCoder<T>?) |