Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #31174
| Subject | Re: Basic JSON question: Do I really need the quotes |
|---|---|
| From | Adam Tauno Williams <awilliam@whitemice.org> |
| Date | 2012-10-12 13:52 -0400 |
| References | <cbd2f125-38ca-4f46-9077-95de0cf7ea6f@googlegroups.com> <k59jt5$s7q$1@ger.gmane.org> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2099.1350066335.27098.python-list@python.org> (permalink) |
On Fri, 2012-10-12 at 19:27 +0200, Roel Schroeven wrote: > moogyd@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.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Basic JSON question: Do I really need the quotes moogyd@yahoo.co.uk - 2012-10-12 07:09 -0700
Re: Basic JSON question: Do I really need the quotes Kwpolska <kwpolska@gmail.com> - 2012-10-12 16:14 +0200
Re: Basic JSON question: Do I really need the quotes Roel Schroeven <roel@roelschroeven.net> - 2012-10-12 19:27 +0200
Re: Basic JSON question: Do I really need the quotes Adam Tauno Williams <awilliam@whitemice.org> - 2012-10-12 13:52 -0400
Re: Basic JSON question: Do I really need the quotes Roy Smith <roy@panix.com> - 2012-10-12 20:03 -0400
Re: Basic JSON question: Do I really need the quotes rusi <rustompmody@gmail.com> - 2012-10-12 20:30 -0700
Re: Basic JSON question: Do I really need the quotes moogyd@yahoo.co.uk - 2012-10-14 22:48 -0700
csiph-web