Support for json for extra data files #139
-
Hello and thanks for this plugin ! Only yaml files can be included thanks to include_yaml. Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
Welcome to this project and thank you!' first issue |
Beta Was this translation helpful? Give feedback.
-
You're welcome. Could you describe your use case more in detail? (i.e. why you have this constraint of json files?) I would see two possible routes:
|
Beta Was this translation helpful? Give feedback.
-
Thank you for your quick answer. I think I will take the second route by writing a module directly in python ! |
Beta Was this translation helpful? Give feedback.
-
Hi, I hope that you can reconsider this feature. JSON files is the lingua franca of machine-generated content. I know that pluglets can be used for this but I hope you would reconsider this to be added into this plugin. I also don't want to add another build step to convert JSON to YAML, because frankly, that is stupid. |
Beta Was this translation helpful? Give feedback.
-
@takase1121 Question: do your json files always have a .json extension? |
Beta Was this translation helpful? Give feedback.
You're welcome. Could you describe your use case more in detail? (i.e. why you have this constraint of json files?)
I would see two possible routes:
define_env()
). Writing the Python code for loading the json file and updating the variables dictionary should be straightforward.