[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 11:29:15 -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=TQ6HMPSXIJcYZeyMcL6NxLT/oIRebfvLsx10InK732c=;b=oP0mzQMTHzdOhDB4rip3UpT05BqjaTMdxq9gBdw2V0RmG3izXTtiqN+HG/GdxRGyS4Xjmw3akBCwxV+xh4OnFXx04OC5+0xnPE0PSO5W3jSgoCLdt5sZvhIlQR8F3r00U11/lt45wklDVfb0iNltJX76BJ5TCZScoWCICFpvqWQ=
- In-Reply-To: <CACaHzQVfr1Bfe=kaHMovhT=FYOH1XFrcD3iCo6KwDZnbv490qQ@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><CAF_YUvUnTmdCzXcC1LwGOnU3WpwTWa-9VnW4XYKp+kn2ob+FkQ@mail.gmail.com><CACaHzQVfr1Bfe=kaHMovhT=FYOH1XFrcD3iCo6KwDZnbv490qQ@mail.gmail.com>
right. I guess either way. Maybe better as a simple JSON null.
On Thu, Apr 13, 2017 at 11:20 AM, Marcin Wojdyr <wojdyr@gmail.com> wrote:
On 13 April 2017 at 16:43, Robert Hanson <hansonr@stolaf.edu> wrote:
>
> 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?
Yes. The same with numbers. In CIF "12" and 12 don't mean exactly the
same - the first is for sure not a number. So in my opinion it'd be
better to represent them in JSON also as "12" and 12.
>
> I do like \u0000 (unicode NULL) for CIF ".' NULL.
You mean you'd prefer to express CIF NULL as "\u0000" rather than JSON null?
_______________________________________________
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]
- References:
- Draft JSON specification for CIF (James Hester)
- Re: Draft JSON specification for CIF (Robert Hanson)
- Re: Draft JSON specification for CIF (Marcin Wojdyr)
- 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):