
From nobody Tue Sep 25 15:19:52 2018
Return-Path: <guerinp@magic.fr>
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 1DEE91277BB for <json@ietfa.amsl.com>; Tue, 25 Sep 2018 15:19:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.701
X-Spam-Level: 
X-Spam-Status: No, score=-0.701 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
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 3oeGZIEKg8ne for <json@ietfa.amsl.com>; Tue, 25 Sep 2018 15:19:49 -0700 (PDT)
Received: from smtp7.tech.numericable.fr (smtp7.tech.numericable.fr [82.216.111.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 08673126DBF for <json@ietf.org>; Tue, 25 Sep 2018 15:19:48 -0700 (PDT)
Received: from [192.168.10.90] (104.161.147.77.rev.sfr.net [77.147.161.104]) by smtp7.tech.numericable.fr (Postfix) with ESMTPS id 6C3636240C for <json@ietf.org>; Wed, 26 Sep 2018 00:19:46 +0200 (CEST)
To: json@ietf.org
From: =?UTF-8?Q?Patrice_Gu=c3=a9rin?= <guerinp@magic.fr>
Message-ID: <b0881939-0ca0-7cbd-5204-e96854564515@magic.fr>
Date: Wed, 26 Sep 2018 00:19:26 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.1
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtjedruddtuddgudehfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfpfgfogfftkfevteeunffgpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepvffhuffkffgfgggtgfesthejredttdefjeenucfhrhhomheprfgrthhrihgtvggpifhurohrihhnuceoghhuvghrihhnphesmhgrghhitgdrfhhrqeenucfrrghrrghmpehmohguvgepshhmthhpohhuthenucevlhhushhtvghrufhiiigvpedt
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/RSVTmPkOfO-L9MnZo2mTqsDS0Yk>
Subject: [Json] About null values
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 25 Sep 2018 22:19:51 -0000

Hello,

I've received some files with NULL (in uppercase) as values.
This case is actually rejected as an error.
Is it possible to consider NULL and null as identical ?

Kind regards,
Patrice.


From nobody Tue Sep 25 17:46:29 2018
Return-Path: <tbray@textuality.com>
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 5047D12D7F8 for <json@ietfa.amsl.com>; Tue, 25 Sep 2018 17:46:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=textuality-com.20150623.gappssmtp.com
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 a1Hea4LMIknC for <json@ietfa.amsl.com>; Tue, 25 Sep 2018 17:46:26 -0700 (PDT)
Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 DCD1A12D7EA for <json@ietf.org>; Tue, 25 Sep 2018 17:46:25 -0700 (PDT)
Received: by mail-ed1-x52a.google.com with SMTP id t11-v6so345978edq.11 for <json@ietf.org>; Tue, 25 Sep 2018 17:46:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=textuality-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=rrVJtwFOoeSfX1x/Q8Zp4IfwkxIzOGBuRRc6FOlH7oY=; b=y3iZgbKam8Sbo9gLWYRsxBIRYo/wnZLDiZIad5GEB3/46wj0mH5/VqnbsEkiydXc5b hYBvCybFc8FWFuMw6N94HWWK7r2nRq1aGIw7npA9/WbegYdEYk0P3oFo0mBcSo6Yw3Vq maEQjiZ9BGz0cbMQOBJDK3q0pNIvBNeyOu0sJWxExQwHQ7j0LRmextPRVAYGkqb1xWn1 cVsRYraWvSKPo0ISP5yInDuMF6PV0zLmmvLJh+CdBUvqITN9PNSWUMg+RndKOxRSsiCB hu6lft6z9UYqX9IGiVG6hawLppBvRyUchIpgQAZPOxw5lnSxuSSXP+UYBT/HFWDbrHEd UXhg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=rrVJtwFOoeSfX1x/Q8Zp4IfwkxIzOGBuRRc6FOlH7oY=; b=ELzZJ74A5x9an10QZcrJ0SLfEailKWncjj6Fspt4yoSJhPYt3856UtiDA3NIs1BZYn K6Jo5rDwggZVmZhDF3Ym6HXQuUMnOkxcZ0Y9bqI1AN9aNmrgwhMSLbbfjysFJbbLgzYC 1/q53pqxNAh0ibyLHywIKSJrGJzHSiMFiDcTaruCAk0ImO2jwxNluMZhUkb5M4KQ7zFn 5qglpXGHLfUMLr3prwYeL/j8NUzdFQ+S6CMAhoAd2MVswG7rbl7eO9t+jIXg8kVeT4aV o3f/5P0fKG2WBReUFLoNs030hcac3mOMDyVm30bwR4sJgpswCupRMpmG7M31A2Tdxbhw WW0A==
X-Gm-Message-State: ABuFfojiLILLrqj5z/4+qLKasfkMLe2VPz1OUdZG9Zk4dsJ1P70vvb9i JxKkEuuWju2k/328/8esF7O3J7XiBOY7r1TzvvgVdw==
X-Google-Smtp-Source: ACcGV62rQe3vWoQMn1AYeOWX0Hio/2jJDLU/Y0IQpzPomQwfksF1+dCRexCU5XvOqr236RzPzmGrdvUepiedNzHjZxg=
X-Received: by 2002:a50:cdcc:: with SMTP id h12-v6mr5681019edj.159.1537922784284;  Tue, 25 Sep 2018 17:46:24 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a50:8cc9:0:0:0:0:0 with HTTP; Tue, 25 Sep 2018 17:46:03 -0700 (PDT)
X-Originating-IP: [24.86.156.110]
In-Reply-To: <b0881939-0ca0-7cbd-5204-e96854564515@magic.fr>
References: <b0881939-0ca0-7cbd-5204-e96854564515@magic.fr>
From: Tim Bray <tbray@textuality.com>
Date: Tue, 25 Sep 2018 17:46:03 -0700
Message-ID: <CAHBU6itxxA_6fEMM_PvUa+mTRyzy_5PAPzNe=yLtCzmFx6_5Mw@mail.gmail.com>
To: =?UTF-8?Q?Patrice_Gu=C3=A9rin?= <guerinp@magic.fr>
Cc: json@ietf.org
Content-Type: multipart/alternative; boundary="0000000000003fe0520576bb8d02"
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/HjjHHOfc3v93TwomOQZOArGc9Rs>
Subject: Re: [Json] About null values
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 26 Sep 2018 00:46:28 -0000

--0000000000003fe0520576bb8d02
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Unfortunately, not.
This is legal: { "a": null }
This is legal: { "a": "NULL" }
This is not legal: { "a": NULL }

On Tue, Sep 25, 2018 at 3:19 PM, Patrice Gu=C3=A9rin <guerinp@magic.fr> wro=
te:

> Hello,
>
> I've received some files with NULL (in uppercase) as values.
> This case is actually rejected as an error.
> Is it possible to consider NULL and null as identical ?
>
> Kind regards,
> Patrice.
>
> _______________________________________________
> json mailing list
> json@ietf.org
> https://www.ietf.org/mailman/listinfo/json
>



--=20
- Tim Bray (If you=E2=80=99d like to send me a private message, see
https://keybase.io/timbray)

--0000000000003fe0520576bb8d02
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:small">Unf=
ortunately, not.=C2=A0=C2=A0</div><div class=3D"gmail_default" style=3D"fon=
t-size:small">This is legal: { &quot;a&quot;: null }</div><div class=3D"gma=
il_default" style=3D"font-size:small">This is legal: { &quot;a&quot;: &quot=
;NULL&quot; }</div><div class=3D"gmail_default" style=3D"font-size:small">T=
his is not legal: { &quot;a&quot;: NULL }</div></div><div class=3D"gmail_ex=
tra"><br><div class=3D"gmail_quote">On Tue, Sep 25, 2018 at 3:19 PM, Patric=
e Gu=C3=A9rin <span dir=3D"ltr">&lt;<a href=3D"mailto:guerinp@magic.fr" tar=
get=3D"_blank">guerinp@magic.fr</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">Hello,<br>
<br>
I&#39;ve received some files with NULL (in uppercase) as values.<br>
This case is actually rejected as an error.<br>
Is it possible to consider NULL and null as identical ?<br>
<br>
Kind regards,<br>
Patrice.<br>
<br>
______________________________<wbr>_________________<br>
json mailing list<br>
<a href=3D"mailto:json@ietf.org" target=3D"_blank">json@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/json" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/json</a><br>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class=
=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><d=
iv>- Tim Bray (If you=E2=80=99d like to send me a private message, see <a h=
ref=3D"https://keybase.io/timbray" target=3D"_blank">https://keybase.io/tim=
bray</a>)</div></div></div>
</div>

--0000000000003fe0520576bb8d02--

