On Fri, 2012-10-12 at 19:27 +0200, Roel Schroeven wrote: > moo...@yahoo.co.uk schreef: > > Hi, > > I need to define some configuration in a file that will be manually created. > > Internally, the data will be stored as a dict, which contains various > > properties related to a design > > e.g. Design Name, dependencies, lists of files (and associated libraries). > > json seemed a quick an easy way of achieving this > > Ayway, in simple terms my question - if I know everything is a string, how > > can I omit the quotation marks? > > The problem is that I don't want to make users have to type redundant > > characters. > > Is it possible? > Not in JSON. Maybe you could try YAML?
If you want a human-readable human-editable markup for data structures I strongly encourage you to look at YAML. JSON is not wetware friendly. -- http://mail.python.org/mailman/listinfo/python-list