On 3 Feb 2012, at 17:24, Bertrand Delacretaz wrote: > Hi, > > One thing that we discussed with Philip is using a neutral, text-based > and diff-friendly format to store our core data. > > We can then derive various formats (json, xml maybe) using Maven or > another build tool. > > We initially discussed using json for that, but in the meantime I > think we should rather used the java properties format, as writing > json by hand is no fun, whereas properties are easy to read/write both > by hand and from code. > > I'd use a structure where folders represent device brands, series, > models etc., and a properties file contains all that we know about a > given device. > > WDYT?
I do like the idea of the native description format being something its easy to edit in a text editor. I suppose any hierarchies within the properties could be handled using dot notation on the property names. > > -Bertrand
