From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Philipp
Newsgroups: gmane.emacs.bugs
Subject: bug#46486: 28.0.50;
json-parse-string missing support for key-less json strings
Date: Sat, 13 Feb 2021 13:24:23 +0100
Message-ID: <1255227A-65C5-4FF1-8923-6000545A72D6@gmail.com>
References: <86v9aw9nt2.fsf@ims.co.at>
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
logging-data="24978"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: 46486@debbugs.gnu.org
To: Thomas Hisch
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 13 13:25:10 2021
Return-path:
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92)
(envelope-from )
id 1lAtz4-0006NI-Lm
for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Feb 2021 13:25:10 +0100
Original-Received: from localhost ([::1]:33776 helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1lAtz2-0000Qk-V7
for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Feb 2021 07:25:08 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40670)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1lAtyw-0000QJ-Gw
for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 07:25:02 -0500
Original-Received: from debbugs.gnu.org ([209.51.188.43]:50342)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1lAtyw-0006DN-AF
for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 07:25:02 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
(envelope-from ) id 1lAtyw-00052f-5H
for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 07:25:02 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Philipp
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sat, 13 Feb 2021 12:25:02 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 46486
X-GNU-PR-Package: emacs
Original-Received: via spool by 46486-submit@debbugs.gnu.org id=B46486.161321907319341
(code B ref 46486); Sat, 13 Feb 2021 12:25:02 +0000
Original-Received: (at 46486) by debbugs.gnu.org; 13 Feb 2021 12:24:33 +0000
Original-Received: from localhost ([127.0.0.1]:33655 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1lAtyT-00051t-2w
for submit@debbugs.gnu.org; Sat, 13 Feb 2021 07:24:33 -0500
Original-Received: from mail-wr1-f44.google.com ([209.85.221.44]:38586)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1lAtyQ-00051d-G4
for 46486@debbugs.gnu.org; Sat, 13 Feb 2021 07:24:31 -0500
Original-Received: by mail-wr1-f44.google.com with SMTP id b3so2810443wrj.5
for <46486@debbugs.gnu.org>; Sat, 13 Feb 2021 04:24:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:subject:from:in-reply-to:date:cc
:content-transfer-encoding:message-id:references:to;
bh=CTHYUjOJR6T9f3LTk8lajdJ3FY2b1tW1wZe9eBHwUtE=;
b=Gzkr/6h5pqjBzJh7jBPfaGe6s345t27YyD1udwo5j2dPagGgnywtZ/bJQ3hOWbleUY
QkbGKfTYYVfAGq/TBAAthHs68WG7NrqaimihH/O8LHnrlYB0bHtKAzEEMKzX7oW3qWgD
YoKgvvqt7CfiXByCAQIDRBltCNNz7AeUI6FvFJR4PATAQ8D+K0o9wizdPxz8DGFPmQzs
mWgjb6Pi4KawHaWGrbrmG/kuSIEwtTl6UfTsYEB1viLqctFWT9vxRxRNCsA7Iai+7uUC
/JFrOriK35n7NleAJkYw+902xYvjBBQniZ8rFUqfvCtelmk18Qm9Tai7/XgyrinJwppO
Ajwg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc
:content-transfer-encoding:message-id:references:to;
bh=CTHYUjOJR6T9f3LTk8lajdJ3FY2b1tW1wZe9eBHwUtE=;
b=jxOnu+ikHyTMEBag7TCtZ2XOoxb0rwokRRJi8kz94B/hxyRksbVWNOVryEQqexg3oL
82ftNEdULWIFUP52UKaaiPGdnwxmMWRFPGEccKrvaP4HEz1zjchn5CdvI/mvyRn5uTFO
MO73DVaeTHK8Yy/NJoVS7mEVQ5c4+dIOOrWDZLE93q3H7dSXW93fS7hpBr006YRav6Cp
zz2hBQ8+Y3nLmaxjds0zp7LhMAITvQbTGE73CjDyQgAN6GVcpGuCKNz6R+qc8H/7d+Uk
3LYrZjErVFZEu0VMh+HlXqtmDc+xN7KJP5I0vs/RQs8/u/+7pdmZ72R9W14qy5glywwY
zTPQ==
X-Gm-Message-State: AOAM533iph6tGA1Inn2jAec7+rlYmnFhdhRvt1sILBr7zZjy0ZEdmSAo
L16SkgBKorxXULRWc96O0g8=
X-Google-Smtp-Source: ABdhPJwBYosr9wMIxmAXTwGuxrXJG+apdT8yUl3Z4UssZKHfK0P4N1n+zCYmhbYjjoXO8d6dPwmncg==
X-Received: by 2002:adf:cd0b:: with SMTP id w11mr8398213wrm.327.1613219064572;
Sat, 13 Feb 2021 04:24:24 -0800 (PST)
Original-Received: from philipps-mbp.fritz.box ([46.128.208.19])
by smtp.gmail.com with ESMTPSA id b13sm15295599wrs.35.2021.02.13.04.24.23
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Sat, 13 Feb 2021 04:24:24 -0800 (PST)
In-Reply-To: <86v9aw9nt2.fsf@ims.co.at>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
the Swiss army knife of text editors"
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "bug-gnu-emacs"
Xref: news.gmane.io gmane.emacs.bugs:199920
Archived-At:
> Am 13.02.2021 um 13:04 schrieb Thomas Hisch :
>=20
>=20
> (json-parse-string "\"abc\"")
> -> progn: could not parse JSON stream: "'[' or '{' expected near =
'\"abc\"'", "", 1, 5, 5
>=20
> Note that strings that neither start with [ nor { are valid JSON =
objects
> according to the JSON schema.
>=20
That contradicts RFC 4627, which states: "A JSON text is a serialized =
object or array."