Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

Config file options for a multi-key -> value map

$
0
0

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?


Viewing all articles
Browse latest Browse all 5049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>