Discussion List Archives

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

Re: Draft JSON specification, round 2

Dear Andrius,

you write:

We have devised our COD-JSON format for three reasons: (i) to pass
parsed CIF data to scripts in programming languages that do not have CIF
parsers, (ii) to avoid multiple CIF parsing in pipelines (JSON parsing
is somewhat faster than CIF) and (iii) to experiment with CIF data in
document-oriented databases. Applications (i) and (ii) benefit from the
syntactic approach, especially if they output CIF (we would like to have
it as similar to the original as possible). For application (iii)
semantic approach should be sufficient.

For applications (i) and (ii) it depends on what CIF information your target scripts need, so we must in each case determine whether or not the information that is provided by the dictionary definitions would be sufficient.  In the particular case that you want to recreate the original file, then syntax is by definition important.

In addition, I believe that CIF validators will need the syntactic
approach as they have to check data types, whether certain data items
can have precisions or be in a loop and so on. However, probably most
CIF validators will analyze data in CIF format, not JSON.

Yes, for this particular application syntactical information is obviously important.

all the best,

cif-developers mailing list

T +61 (02) 9717 9907
F +61 (02) 9717 3145
M +61 (04) 0249 4148
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.