[]
Represents a JSON coder that encodes and decodes objects of type T
to and from JSON variants.
public JsonCoder(Func<T, IJsonVariant> Encode, Func<IJsonVariant, T> Decode)
Type | Name | Description |
---|---|---|
Func<T, IJsonVariant> | Encode | A function that takes an object of type |
Func<IJsonVariant, T> | Decode | A function that takes an IJsonVariant and decodes it into an object of type |
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.