How to give a json as parameters instead of param...
# beginners-need-help
s
How to give a json as parameters instead of parameters.yml
d
So whilst we push YAML as our default Kedro is able accept catalog or parameters in any of the formats yaml, yml, json, ini, pickle, xml or properties https://kedro.readthedocs.io/en/stable/kedro.config.ConfigLoader.html
We apply the following glob patterns to pick up catalog or parameters references
Copy code
python
conf_catalog = conf_loader.get('catalog*', 'catalog*/**')
conf_params = conf_loader.get('**/parameters.yml')
Oh actually as I write this I realise you can only do that for catalog as we enforce the
.yml
name for paramters
So to answer your question - I think you need to inherit and override the default config loader class, change this
conf_params
argument and then register that configloader in hooks.py