Discussion List Archives

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

RE: Draft JSON specification, round 2

Sorry for being a bit late to this particular party, but if we want keys for objects that are siblings to data block objects, then it seems to me that the safest thing to do is to choose from among the many strings that cannot reasonably correspond to CIF data block names at all.  One of the easiest ways to do that would be to choose keys with whitespace in them, such as "Meta Data".  No liberties a processor might take in translating or interpreting alphabetic case can allow it to convert between such a string and a valid CIF data block name.


-----Original Message-----
From: cif-developers [mailto:cif-developers-bounces@iucr.org] On Behalf Of Marcin Wojdyr
Sent: Thursday, April 20, 2017 5:34 AM
To: Forum for CIF software developers <cif-developers@iucr.org>
Subject: Re: Draft JSON specification, round 2

On 20 April 2017 at 03:35, James Hester <jamesrhester@gmail.com> wrote:

>> Come to think of it, all upper case keys could be non-cif keys since
>> we specify all lower case for CIF keys. Are data names case
>> sensitive? Thus, this could be
>> perhaps?
> Ooh, nifty idea. Loosely speaking, datablock names are caseless (may
> not canonically caseless match in Unicode speak) so we could stipulate
> that all datablock names are lower case (or the Unicode equivalent).
> Let's see what the rest of developers here think about this.

I also like the idea of having all the keys lowercase in JSON.
It will loose some (not essential) information, but having easy and fast access to blocks/frames/items is a huge advantage.

(though I'd rather write it as METADATA without _)

cif-developers mailing list


Email Disclaimer: www.stjude.org/emaildisclaimer
Consultation Disclaimer: www.stjude.org/consultationdisclaimer
_______________________________________________cif-developers mailing listcif-developers@iucr.orghttp://mailman.iucr.org/cgi-bin/mailman/listinfo/cif-developers

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.