Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #31169
| From | Roel Schroeven <roel@roelschroeven.net> |
|---|---|
| Subject | Re: Basic JSON question: Do I really need the quotes |
| Date | 2012-10-12 19:27 +0200 |
| References | <cbd2f125-38ca-4f46-9077-95de0cf7ea6f@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2096.1350062835.27098.python-list@python.org> (permalink) |
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
> Anyway, 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?
--
"Too often we hold fast to the cliches of our forebears. We subject all
facts to a prefabricated set of interpretations. Too often we enjoy the
comfort of opinion without the discomfort of thought."
-- John F Kennedy
roel@roelschroeven.net
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