I'd like to make a static config file for a Java Application, where I have multiple inputs mapping to a output value (something like a composite HashMap key to a value). What would be the best config to represent something like this
Abstract example of such a csv config would be:
Apple, Orange, Banana -> Value1
Orange, Apple, Banana -> Value2
Can this be represented better in a YAML? If so, what would be the best way to represent this in a yaml. Are there better alternatives than a csv/yaml/json?