Standard.Licensing icon indicating copy to clipboard operation
Standard.Licensing copied to clipboard

Add extensions that support JSON serialization/deserialization.

Open apphost opened this issue 1 year ago • 0 comments

When you want to serialize the License to JSON instead of XML, use .ToJson() instead of .ToString(). var jsonText = license.ToJson();

For deserialization, using ToLicense() on the JSON string will yield the License instance. var parsedLicense = jsonText.ToLicense();

apphost avatar Nov 19 '24 03:11 apphost