Discussion List Archives

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

Re: CIF-JSON draft 2017-05-15

On Thu, May 18, 2017 at 8:37 PM, James Hester <jamesrhester@gmail.com> wrote:

Concatenation: The CCDC (I speculate) are simply physically concatenating CIF files, which produces a syntactically correct file and is really efficient as there is no need to parse the contents. Of course, this fails to meet the standards if data blocks happen to have the same names, and could only be fixed by completely parsing every file to identify and possibly change data block names.  In contrast, concatenation of JSON objects does not produce a syntactically correct string, so would not be attempted in the first place and is not something we need to guard against.  Our concatenator is more likely to attempt "[" + A + "," + B +"]" to produce an array of objects. Now, the concept "a JSON array of CIF-JSON objects" is perfectly well-defined, and so is a viable method of data transfer without any intervention from us.  Therefore, I don't think we need to include it in the standard, but we could comment that such an array would be the preferred way to transfer multiple CIF-JSON objects (to state the obvious).

Sure. That makes sense to me. 

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.