Re: [core] SenML Re: SemML time series data representation?

Carsten Bormann <cabo@tzi.org> Tue, 01 December 2015 19:18 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DE3731A1A3C for <core@ietfa.amsl.com>; Tue, 1 Dec 2015 11:18:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zXHbpLxEas0p for <core@ietfa.amsl.com>; Tue, 1 Dec 2015 11:18:35 -0800 (PST)
Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [IPv6:2001:4b98:c:538::198]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4A8201B2A5E for <core@ietf.org>; Tue, 1 Dec 2015 11:18:34 -0800 (PST)
Received: from mfilter31-d.gandi.net (mfilter31-d.gandi.net [217.70.178.162]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id 4F9B1FB8C6; Tue, 1 Dec 2015 20:18:32 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at mfilter31-d.gandi.net
Received: from relay6-d.mail.gandi.net ([IPv6:::ffff:217.70.183.198]) by mfilter31-d.gandi.net (mfilter31-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id JqQVDvepofA3; Tue, 1 Dec 2015 20:18:31 +0100 (CET)
X-Originating-IP: 93.199.254.229
Received: from nar.local (p5DC7FEE5.dip0.t-ipconnect.de [93.199.254.229]) (Authenticated sender: cabo@cabo.im) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 357E9FB8A3; Tue, 1 Dec 2015 20:18:27 +0100 (CET)
Message-ID: <565DF282.7060001@tzi.org>
Date: Tue, 01 Dec 2015 20:18:26 +0100
From: Carsten Bormann <cabo@tzi.org>
User-Agent: Postbox 4.0.8 (Macintosh/20151105)
MIME-Version: 1.0
To: Cullen Jennings <fluffy@iii.ca>
References: <1d3a2378c7df499e84f3edae6f5d1f96@NOKWDCFIEXCH02P.nnok.nokia.com> <8309DD6A-FED6-4E3D-86E8-FDF842BC9458@ericsson.com> <C5EC00C2-49E4-45C2-A78C-FD818BDF04C7@iii.ca>
In-Reply-To: <C5EC00C2-49E4-45C2-A78C-FD818BDF04C7@iii.ca>
X-Enigmail-Version: 1.2.3
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/a8aLU3Yw-SsJYcWFNr3k987B2wg>
Cc: "draft-jennings-core-senml@tools.ietf.org" <draft-jennings-core-senml@tools.ietf.org>, core <core@ietf.org>, Christian Amsüss <c.amsuess@energyharvesting.at>
Subject: Re: [core] SenML Re: SemML time series data representation?
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Dec 2015 19:18:37 -0000

Cullen Jennings wrote:
> There's a a further problem that has come up with this syntax. The JSON ends up having an array of variant types - that is the outer array has entries that can be an object or an array. Given that many languages don't support variant arrays, it turns out many JSON libraries don't seem to support this. 

Hmm, those implementations will have problems with other IETF
specifications such as RFC 7265 or RFC 7095 (or specs that use those
specs such as RFC 7483).

How prevalent is this problem?  Do you have examples for JSON
implementations with this problem?

Grüße, Carsten