json-document-transforms
json-document-transforms copied to clipboard
Tranformation help
I'm transforming to intermediary values, not the final values; I'm unable to transform this:
"ClientStoreExpiration": 300,
into this:
"ClientStoreExpiration": $IdentityServerClientStoreExpiration,
Is this possible?
When it's a string there is no problem because it sits inside quotes, ex:
"UserStoreUrl": "http:\\localhost" into "UserStoreUrl": "$UserStoreUrl"
Unfortunately, this is not possible without the use of custom macros. We use Newtonsoft, which doesn't support different values