Standard.Licensing
Standard.Licensing copied to clipboard
Add extensions that support JSON serialization/deserialization.
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();