[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reply to: [list | sender only]
Re: CIF-JSON draft 2017-05-15
- Subject: Re: CIF-JSON draft 2017-05-15
- From: Robert Hanson <hansonr@xxxxxxxxxx>
- Date: Thu, 18 May 2017 20:47:11 -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=w1+HGG/DIv4S5rTw6HHPvvFAx/Cv49BaGDBq4vV0RW0=;b=EjRHnidGXvRU44LUNmA7kB/kHit7EpWLKIWfC8eGfNiuJSVUqtOFWJbMIp7jU/2k5DVPa0fg2N6sbVaDv1W+2+FtZKau5gMUnQTb5KbnfhCuy67eCtOWlMT8jE2mAmqknitdwxZDchJrpf1lD0fDi/T57y4RBJ3dd23Vc2Qp1P4=
- In-Reply-To: <CAM+dB2cjf2EoR3o6MtLHBqRirBzgPSG5iz+eYEK5qtbiMy5Acw@mail.gmail.com>
- References: <CAM+dB2cAAY3CjC741WU0GqaWmAi2iGHtwZ82iA1bCwuNoG6nQg@mail.gmail.com><CAF_YUvVa0JXgAN9Bec6fjd6Nmco5W7EHWLN=Ba=daRR9U-2PzQ@mail.gmail.com><CACaHzQVYeOfS9zTe4gDJMVNCTgxtat0zhMAd2EMX=etXj5g2Gw@mail.gmail.com><CAF_YUvWV3huhwoBuCOkKXqCcYH+8kjFCPjoa=j_v61JC4H32Jg@mail.gmail.com><CAF_YUvUMbVz2j5=XXD5WD3G+0XB4tY=r1zwXuADB14qQNZTPvg@mail.gmail.com><CAF_YUvXPj9g6CEnsKmwZwrp7p550nyykrnQY9iN5wpEnDzrrYQ@mail.gmail.com><CAF_YUvUaJM0bwV4vKZwARQw4Q44LN+TOyr4Ghge3P_qn90tUHQ@mail.gmail.com><CAF_YUvUGexW-7iSfJWQ_c=WZNnbzBJeFaNfzKRVK4DKmdydp+A@mail.gmail.com><CAM+dB2dY8xEp8BeSJfXD5E9+H6-qkBCodMV_gc-fetLNp=x_WA@mail.gmail.com><CAF_YUvU+O3yb-JG_zZWvTW0i7EuzA1_J3c0Q8drWqb6rScSkEw@mail.gmail.com><CAF_YUvWT4ZGT_BbpmB2G3Ya7ttzj70qXD7UofyAsPb010W_XJw@mail.gmail.com><CAF_YUvXb4jbKxSh=Q9Q76Zay-RMi8xXU_geQ5FB76cj5iozkOQ@mail.gmail.com><CAF_YUvW01EL98PYcAq0fADvF9BK6oJTdhe4Ju9byg5x5bmGc2Q@mail.gmail.com><CAM+dB2fz+Y45c+Cgk7BABsSPQB2FKe9JxX2j+fRgPC+ehh-ddw@mail.gmail.com><CAF_YUvWnEq0XsQCUhh3bis=vukuf3BQF=QxGi8HS5rTpc4uvkw@mail.gmail.com><CACaHzQUhG8ndiKBSX3OeB=vkn3pu+DugJ=wCEz8podKstFsQZA@mail.gmail.com><CAF_YUvUhv1Li3b-oLkASzq7SnV734WEozPWnMMcHAbVhOcT_Jg@mail.gmail.com><CACaHzQXm3Lti+cP_mQDFnkPdN1ia=--RmGTnPOOyYqP3doJTZw@mail.gmail.com><CAF_YUvXi_UgN9Fc+MATbP-ROKyG31fjcc4HcoS7UEs+2jh3CYA@mail.gmail.com><CAF_YUvXYCLN8gAjDZndba1UCgsgvRTavHKJR28VqAG2Hh4xSVQ@mail.gmail.com><CAM+dB2cjf2EoR3o6MtLHBqRirBzgPSG5iz+eYEK5qtbiMy5Acw@mail.gmail.com>
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 cif-developers@iucr.org http://mailman.iucr.org/cgi-bin/mailman/listinfo/cif-developers
Reply to: [list | sender only]
- References:
- CIF-JSON draft 2017-05-15 (James Hester)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Marcin Wojdyr)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (James Hester)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (James Hester)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Marcin Wojdyr)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Marcin Wojdyr)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (Robert Hanson)
- Re: CIF-JSON draft 2017-05-15 (James Hester)
- Prev by Date: Re: CIF-JSON draft 2017-05-15
- Next by Date: Re: CIF-JSON draft 2017-05-15
- Prev by thread: Re: CIF-JSON draft 2017-05-15
- Next by thread: Re: CIF-JSON draft 2017-05-15
- Index(es):