com.mendix.basis.util.license.LicenseConfiguration does seem to contain it but I dont know what the standard way to call com.mendix.basis.util.license.LicenseConfiguration.getLicenseAsJson()
{
"LicenseID": "000000000000000000000000000=",
"Company": "ACME",
"Components": [
"Mobile"
],
"LicenseType": "Subscription",
"UserLimitations": [
{
"LimitationType": "Named",
"AmountType": "Specified",
"NumberOfAllowedUsers": 1000
}
],
"ExpirationDate": 1234567890123,
"RuntimeMode": "Production",
"SeparateAnonymousUsers": true
}