Function: getJsonFileConfigLoader()
getJsonFileConfigLoader<
T
>(filename
,transform
?):ConfigurationProvider
<T
>
A factory function to create simple configuration providers that load configuration from a JSON file.
Type Parameters
• T
Parameters
• filename: string
The filename of the JSON file to load.
• transform?
The function to transform the loaded JSON object into the desired configuration object.
Returns
A {@link ConfigurationProvider}
that loads configuration from the specified JSON file.