[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
--
Reply to: [list | sender only]
Re: Draft JSON specification for CIF
- Subject: Re: Draft JSON specification for CIF
- From: Robert Hanson <hansonr@xxxxxxxxxx>
- Date: Thu, 13 Apr 2017 10:43:42 -0500
- DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stolaf.edu; s=stolaf;h=mime-version:in-reply-to:references:from:date:message-id:subject:to;bh=JWBDNFwRvcXFFI8mH1k34k9TN2dNVlWjzgddYwphKdY=;b=gF2sXyHzOBNeWbmVFxavfb1ZxoY+yvSNHOBU+JL0yripaXlExsrZ9KWC+DdfDE3FkbfG29ThQKJrMb+F5aZWVtnwvga3ha0+ng4P30bamjI+cGdOv2oxCh7kSJwlItuYNpfhlxQrsteW1dAv4lY/Q4KToKulufxDxSsYObOyuGU=
- In-Reply-To: <CACaHzQU+25tZQXe1EKUFi4y+UJfa+rA6z7F7Y2EvWhX=Jg6P8g@mail.gmail.com>
- References: <CAM+dB2fszww=4A_w6evqg=5O9KKLnujajmg_SPSX=hCRQiBPtg@mail.gmail.com><CAF_YUvWgON8Z3JS1TePu3K=SRErN4TBhNTP1Q3GfdJeoLnymMw@mail.gmail.com><CACaHzQU+25tZQXe1EKUFi4y+UJfa+rA6z7F7Y2EvWhX=Jg6P8g@mail.gmail.com>
You mean because in CIF2 you can put "." in, with quotes to mean an actual dot, or without quotes to mean NULL, is that the issue? I do like \u0000 (unicode NULL) for CIF ".' NULL. How about U+FFFD for "?" ? Here's what they look like on my machine:
What I meant by "not an issue" is that if everything is a string, then there isn't the issue that some "numerical" values are numbers and some are strings of some sort.
What I meant by "not an issue" is that if everything is a string, then there isn't the issue that some "numerical" values are numbers and some are strings of some sort.
Bob
On Thu, Apr 13, 2017 at 10:13 AM, Marcin Wojdyr <wojdyr@gmail.com> wrote:
Bob,
> - This adds the unnecessary complication of what to do with "." and "?"
I think you imply that . and ? should be expressed in JSON as "." and "?".
But this would be ambiguous: JSON "?" could mean either unknown or string "?".
Marcin
_______________________________________________
cif-developers mailing list
cif-developers@iucr.org
http://mailman.iucr.org/cgi-bin/mailman/listinfo/cif- developers
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
_______________________________________________ cif-developers mailing list cif-developers@iucr.org http://mailman.iucr.org/cgi-bin/mailman/listinfo/cif-developers
Reply to: [list | sender only]
- Follow-Ups:
- RE: Draft JSON specification for CIF (Bollinger, John C)
- Re: Draft JSON specification for CIF (Marcin Wojdyr)
- References:
- Draft JSON specification for CIF (James Hester)
- Re: Draft JSON specification for CIF (Robert Hanson)
- Re: Draft JSON specification for CIF (Marcin Wojdyr)
- Prev by Date: Re: Draft JSON specification for CIF
- Next by Date: Re: Draft JSON specification for CIF
- Prev by thread: RE: Draft JSON specification for CIF
- Next by thread: Re: Draft JSON specification for CIF
- Index(es):