[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reply to: [list | sender only]
Re: Draft JSON specification, round 2
- Subject: Re: Draft JSON specification, round 2
- From: Marcin Wojdyr <wojdyr@xxxxxxxxx>
- Date: Fri, 21 Apr 2017 15:34:00 +0100
- DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;h=mime-version:in-reply-to:references:from:date:message-id:subject:to;bh=Fgu8h1BfoM/oL7IOWkF1wOKDtXhfy+rviHCBiBoQHm8=;b=kIadbAkLFYfbmVDFmav+lJxNx3uAPGNn1k3o1ewPjdKEjCMgYy2hHFeLQmFwpkgb45/exqwhjSKVXPjUcKD1sS8mAqJ1LE/VRk4jn+aAlMlYb9pNzgtelAcfcSzXpufi8dGX4L4o5m8eR5GsPlxjNwje3Tq9gwuSzl1sRZZ9c3wvGFu+QYSiuMUjN3YPlsPgpV96AKQuiFZUiNfo5agJQGm2uWfilTO26FiOb0ImL9lgAlzViBaiYpAJkcV8EQF1flhX6PRMVAXDq1uWN1eIiMAZBpq38ruAkhQ68yeOGTgNbwXNe5Zuy81MTc+Vs973osFRcr3Hny7i+PHx7k5Nkg==
- In-Reply-To: <5082d652-448d-2495-6cc7-6e46f91e729a@gmail.com>
- References: <CAM+dB2d4HcnH7PZRC4jYO8KLyNxs4pws_baT7WKi6vRiD2z1ow@mail.gmail.com><MWHPR04MB0512B6E3745834DB2C6C74BCE01B0@MWHPR04MB0512.namprd04.prod.outlook.com><CAM+dB2cGUWSsnR782iRn4aJ3NU7GqNZV3bGQ5yJ8dVxBD2Xvtw@mail.gmail.com><5082d652-448d-2495-6cc7-6e46f91e729a@gmail.com>
Hi Andrius I agree with all that you wrote apart from this: > 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. Data types are part of the semantic information and the discussed"lightweight" JSON should be able to check them."loop tags" (that could become LOOP_TAGS or something else)distinguish between loops and CIF2.0 lists.S.u. can easily be preserved without loosing the type information, for example: CIF:loop_ _x 1.2(3) 4.5(6)JSON:"_x": [1.2, 4.5],"_x SU": [0.03, 0.06], Is there any other potential type ambiguity?_______________________________________________cif-developers mailing listcif-developers@iucr.orghttp://mailman.iucr.org/cgi-bin/mailman/listinfo/cif-developers
Reply to: [list | sender only]
- References:
- Draft JSON specification, round 2 (James Hester)
- RE: Draft JSON specification, round 2 (Bollinger, John C)
- Re: Draft JSON specification, round 2 (James Hester)
- Re: Draft JSON specification, round 2 (Andrius Merkys)
- Prev by Date: Re: Draft JSON specification, round 2
- Next by Date: Re: Draft JSON specification, round 2
- Prev by thread: Re: Draft JSON specification, round 2
- Next by thread: Re: Draft JSON specification, round 2
- Index(es):