Re: [Json] About JSON equality

"Paul C. Bryan" <pbryan@anode.ca> Tue, 19 February 2013 23:38 UTC

Return-Path: <pbryan@anode.ca>
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 50CB721F87D6 for <json@ietfa.amsl.com>; Tue, 19 Feb 2013 15:38:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6A6v6b0dudLw for <json@ietfa.amsl.com>; Tue, 19 Feb 2013 15:38:35 -0800 (PST)
Received: from maple.anode.ca (maple.anode.ca [72.14.183.184]) by ietfa.amsl.com (Postfix) with ESMTP id 68F7121F87D1 for <json@ietf.org>; Tue, 19 Feb 2013 15:38:35 -0800 (PST)
Received: from [10.126.22.27] (unknown [204.14.239.147]) by maple.anode.ca (Postfix) with ESMTPSA id DECEF6174 for <json@ietf.org>; Tue, 19 Feb 2013 23:38:34 +0000 (UTC)
From: "Paul C. Bryan" <pbryan@anode.ca>
To: json@ietf.org
In-Reply-To: <CALcybBAqONQ+UAzcnJFkphsQk=qSpLwdEoYR-6YETY2GP_EN6w@mail.gmail.com>
References: <CALcybBAqONQ+UAzcnJFkphsQk=qSpLwdEoYR-6YETY2GP_EN6w@mail.gmail.com>
Content-Type: multipart/alternative; boundary="=-afOp0xjJoXp/A/PsoDk/"
Date: Tue, 19 Feb 2013 15:38:33 -0800
Message-ID: <1361317113.9790.31.camel@pbryan-wsl.internal.salesforce.com>
Mime-Version: 1.0
X-Mailer: Evolution 2.28.3
Subject: Re: [Json] About JSON equality
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Discussion related to JavaScript Object Notation \(JSON\)." <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: Tue, 19 Feb 2013 23:38:36 -0000

On Tue, 2013-02-19 at 23:55 +0100, Francis Galiegue wrote:


> This definition is only lacking for strings. On some other draft which
> I cannot remember off the top of my head, two JSON String values are
> to be considered equal if, position wise, their Unicode code points
> are the same (and THAT INCLUDES \u0000).


See
http://tools.ietf.org/html/draft-ietf-appsawg-json-patch-10#section-4.6

Paul