Discussion List Archives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Draft JSON specification for CIF

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

Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN

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

Reply to: [list | sender only]
International Union of Crystallography

Scientific Union Member of the International Science Council (admitted 1947). Member of CODATA, the ISC Committee on Data. Partner with UNESCO, the United Nations Educational, Scientific and Cultural Organization in the International Year of Crystallography 2014.

International Science Council Scientific Freedom Policy

The IUCr observes the basic policy of non-discrimination and affirms the right and freedom of scientists to associate in international scientific activity without regard to such factors as ethnic origin, religion, citizenship, language, political stance, gender, sex or age, in accordance with the Statutes of the International Council for Science.