Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #31174
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <awilliam@whitemice.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'json': 0.07; 'omit': 0.07; 'seemed': 0.07; 'subject:question': 0.08; 'stored': 0.10; 'created.': 0.16; 'from:addr:awilliam': 0.16; 'from:addr:whitemice.org': 0.16; 'from:name:adam tauno williams': 0.16; 'possible?': 0.16; 'received:72.14.190': 0.16; 'received:72.14.190.87': 0.16; 'received:mail.wmmi.net': 0.16; 'received:wmmi.net': 0.16; 'reply-to:addr:awilliam': 0.16; 'reply- to:addr:whitemice.org': 0.16; 'wrote:': 0.17; 'string,': 0.17; 'subject:need': 0.17; 'define': 0.20; 'received:72.14': 0.20; 'properties': 0.24; 'header:In-Reply-To:1': 0.25; 'question': 0.27; 'strongly': 0.27; 'structures': 0.27; 'markup': 0.29; 'maybe': 0.29; 'related': 0.30; 'e.g.': 0.30; 'fri,': 0.30; 'lists': 0.31; '(and': 0.32; 'file': 0.32; 'could': 0.32; '+0200,': 0.33; 'achieving': 0.33; 'problem': 0.33; 'to:addr :python-list': 0.33; 'hi,': 0.33; 'data': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'easy': 0.60; 'header:Reply-To:1': 0.68; 'reply-to:no real name:2**0': 0.72; 'dict,': 0.84; 'email addr:yahoo.co.uk': 0.84; 'subject:Basic': 0.84; 'quotation': 0.93 |
| Subject | Re: Basic JSON question: Do I really need the quotes |
| From | Adam Tauno Williams <awilliam@whitemice.org> |
| To | python-list@python.org |
| Date | Fri, 12 Oct 2012 13:52:42 -0400 |
| In-Reply-To | <k59jt5$s7q$1@ger.gmane.org> |
| References | <cbd2f125-38ca-4f46-9077-95de0cf7ea6f@googlegroups.com> <k59jt5$s7q$1@ger.gmane.org> |
| Content-Type | text/plain; charset="UTF-8" |
| X-Mailer | Evolution 3.6.0 |
| Mime-Version | 1.0 |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| Reply-To | awilliam@whitemice.org |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2099.1350066335.27098.python-list@python.org> (permalink) |
| Lines | 15 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1350066335 news.xs4all.nl 6951 [2001:888:2000:d::a6]:33959 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:31174 |
Show key headers only | View raw
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