Re: [Json] Link-relation expressed in JSON?

Erik Wilde <dret@berkeley.edu> Thu, 07 November 2013 19:10 UTC

Return-Path: <dret@berkeley.edu>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7DA5511E80F9 for <json@ietfa.amsl.com>; Thu, 7 Nov 2013 11:10:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.414
X-Spam-Level:
X-Spam-Status: No, score=-6.414 tagged_above=-999 required=5 tests=[AWL=0.185, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hWwyQVztsdEr for <json@ietfa.amsl.com>; Thu, 7 Nov 2013 11:10:43 -0800 (PST)
Received: from cm03fe.IST.Berkeley.EDU (cm03fe.IST.Berkeley.EDU [169.229.218.144]) by ietfa.amsl.com (Postfix) with ESMTP id EE12311E8118 for <json@ietf.org>; Thu, 7 Nov 2013 11:10:34 -0800 (PST)
Received: from dhcp-a20d.meeting.ietf.org ([31.133.162.13]) by cm03fe.ist.berkeley.edu with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76) (auth plain:dret@berkeley.edu) (envelope-from <dret@berkeley.edu>) id 1VeUyN-0004KG-Ca; Thu, 07 Nov 2013 11:10:33 -0800
Message-ID: <527BE5AA.5040808@berkeley.edu>
Date: Thu, 07 Nov 2013 11:10:34 -0800
From: Erik Wilde <dret@berkeley.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: JSON WG <json@ietf.org>
References: <CABzCy2By1_yF6DY8_SiGiYJRCWFDo1zT3b4V87n4JZ0PfS6H7A@mail.gmail.com> <255AEB83-31FE-47BD-894F-B4270A13B144@mnot.net> <CABzCy2BqHt-YSxOChHPnDar=MCt6v9N4U7TePbQ-4+ei2b4BYQ@mail.gmail.com> <A8E0F3AC-D6C0-4519-9FE9-A0CCA8554820@mnot.net> <CABzCy2Bw2xdcT9w9=Kna6BOZmqBi_CS+UkEv7s-kG577WfmqSQ@mail.gmail.com> <5233254B-21BA-4311-BBC6-B23246727516@mnot.net> <CABzCy2Cs_pKL7Rf52eusEXMgFP1-i00m+dcQ9rtOwFbcYCjbPw@mail.gmail.com> <CAGrxA27LEojA44Q+6jn9i3DsOjB+Ba9oNKW55FGnJaa-jnRQ9Q@mail.gmail.com> <CAK3OfOiF54TGMKt6nVMuvcJ+mFw2quW6ztjgzDoV-tsJUoKMpg@mail.gmail.com> <CAGrxA27ks2s2Ea7RTZT8euHCvwFrQ2v6y1FoO3p6Wb9_gdCmBA@mail.gmail.com> <20131106175806.GO18713@localhost> <CAGrxA26so9tZzBeQiLH-14ASU+JGDCBi5StJLrRVhsQB1aA0og@mail.gmail.com>
In-Reply-To: <CAGrxA26so9tZzBeQiLH-14ASU+JGDCBi5StJLrRVhsQB1aA0og@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: Tatu Saloranta <tsaloranta@gmail.com>
Subject: Re: [Json] Link-relation expressed in JSON?
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <json.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/json>, <mailto:json-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/json>
List-Post: <mailto:json@ietf.org>
List-Help: <mailto:json-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/json>, <mailto:json-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Nov 2013 19:10:48 -0000

hello.

On 2013-11-07, 10:55 , Tatu Saloranta wrote:
> Fair enough. I agree in that there are complex cases. My point is that
> complexity of structure is a choice, and should be made explicit. Based
> on JSON usage I have seen, I think modellers are not always aware of
> complexities or resulting trade-offs.

there is so much existing JSON out there that instead of creating a 
"standard for hyperJSON", an alternative approach might be to just 
collect and document (some of the) existing design patterns out there, 
and compare and highlight their constraints in terms of what they can 
and cannot represent. that might already be a very useful starting point 
for JSON designers, and would give them a good starting point for how to 
design that aspect of their JSON representations.

cheers,

dret.

-- 
erik wilde | mailto:dret@berkeley.edu  -  tel:+1-510-2061079 |
            | UC Berkeley  -  School of Information (ISchool) |
            | http://dret.net/netdret http://twitter.com/dret |