[Json] ECMAScript compatibility mode added to the JCS specification

Anders Rundgren <anders.rundgren.net@gmail.com> Thu, 14 January 2016 09:18 UTC

Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D3A5A1B2D63 for <json@ietfa.amsl.com>; Thu, 14 Jan 2016 01:18:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 Z7v52x3wPI8Z for <json@ietfa.amsl.com>; Thu, 14 Jan 2016 01:18:44 -0800 (PST)
Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5E0D21A001A for <json@ietf.org>; Thu, 14 Jan 2016 01:18:44 -0800 (PST)
Received: by mail-wm0-x234.google.com with SMTP id l65so331912124wmf.1 for <json@ietf.org>; Thu, 14 Jan 2016 01:18:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=ssGZkKaTCohGGCFdTFHJ/yXExqG+Ek6IRgUu15AVS2U=; b=zhNFLvzd/vjEOLvlDWQX5tiSHQP+ehRS13X34iA4dBkX+J4nSujKA2nEiIGHh2H3HK PbvoInATO4XWXT79lS4tBQZBogmxFD3PEnPd738aPVH1mRm2RiN8Hw40Crh8NzDZBjp1 blrF4SzOeHXrcsGBKryJOr3ntNzBFCmT09FJE89/DiipA88BvoZXY/Q/MGV/yxd1ZoTo ZQM+6e7aaTg+C5sEHiz8gP1HEyJKyWJ8GcTYwULbPf0PDVyHZvON9t0Jl4qWo1l5Ndoi mWQjEE6On7HELUZ49CluAOnTA4sQzl8oLOGcHJgDJBHcLB0abGRVmvitZ+pcPlINHNtY HJhg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-type:content-transfer-encoding; bh=ssGZkKaTCohGGCFdTFHJ/yXExqG+Ek6IRgUu15AVS2U=; b=OBqopaxW/DHrLRWKba9zj3duh3EGnCyDyoKoR825jpIujO9To6551k58FwRQknKFnO 8PFJ3smNBGu+ltOct8v13ySxVr55D8Vq6PK4cvMsEuYZF088JwjN6mP+9X5x0crSGB+0 FkcYYXymJ5ExkuF3FlsNxjhoI59eugxgmW1ICMIR953rJue+u+tRjXugbGIOBZhyam9t JAwZltdKfAw/YAbyHwxdoWEfCG+ZFEvYOIvJFPgQpks6ocL7r1O+3DBPm2aaAM4jB3j7 QDldfAREEeVnGo7VDkLM8s/KvsbydRDDmLUr1dSe/+hC22SMgJDRzLPUZtBApsxL4DVl 6nCw==
X-Gm-Message-State: ALoCoQmmWtZ7jfn7RVgI9fJf1FvdJKeZ4oBkSS/UhKBq/kBNSbUg5BvDupXsJhyhE0GbTRTk6zwHhL9N3THz4FYclflWJ3CZAg==
X-Received: by 10.194.21.101 with SMTP id u5mr3466123wje.53.1452763122340; Thu, 14 Jan 2016 01:18:42 -0800 (PST)
Received: from [192.168.1.79] (9.197.130.77.rev.sfr.net. [77.130.197.9]) by smtp.googlemail.com with ESMTPSA id df10sm5098102wjb.44.2016.01.14.01.18.41 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 14 Jan 2016 01:18:41 -0800 (PST)
From: Anders Rundgren <anders.rundgren.net@gmail.com>
To: "json@ietf.org" <json@ietf.org>
Message-ID: <569767F0.5030407@gmail.com>
Date: Thu, 14 Jan 2016 10:18:40 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/json/2u6qHCU3L6e1dtaGEc1WmKFTMBg>
Subject: [Json] ECMAScript compatibility mode added to the JCS specification
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.15
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: <https://mailarchive.ietf.org/arch/browse/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, 14 Jan 2016 09:18:46 -0000

https://cyberphone.github.io/openkeystore/resources/docs/jcs.html#ECMAScript_Compatibility_Mode

The JCS reference implementation is compatible with both the original specification as well as with ES6.

Relying on the number serialization algorithm featured in https://developers.google.com/v8/ may appear slightly "hacky" but OTOH there are already tons of systems out there building on this platform including https://nodejs.org/en/ so it is about as "standard" you can get.

Anders