YAML or JSON library that supports inheritance
问题 We are building a service. It has to read config from a file. We are currently using YAML and Jackson for deserializing the YAML. We have a situation where our YAML file needs to inherit/extend another YAML file(s). E.g., something like: extends: base.yaml appName: my-awesome-app ... thus part of the config is stored in base.yaml . Is there any library that has support for this? Bonus points if it allows to inherit from more than one file. We could change to using JSON instead of YAML. 回答1: