From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: ndame Newsgroups: gmane.emacs.help Subject: Can the json reader be a bit more lenient? Date: Wed, 31 Jul 2019 13:52:38 +0200 (CEST) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="10344"; mail-complaints-to="usenet@blaine.gmane.org" To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 31 13:53:02 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hsnAD-0002Zb-Vf for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Jul 2019 13:53:02 +0200 Original-Received: from localhost ([::1]:39976 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsnAD-0004LD-1g for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Jul 2019 07:53:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51014) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsnA6-0004Kr-80 for help-gnu-emacs@gnu.org; Wed, 31 Jul 2019 07:52:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsnA4-0001kU-1T for help-gnu-emacs@gnu.org; Wed, 31 Jul 2019 07:52:54 -0400 Original-Received: from fmfe09.onbox.hu ([46.107.16.202]:13131 helo=web-out.onbox.hu) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hsnA2-0001cA-VY for help-gnu-emacs@gnu.org; Wed, 31 Jul 2019 07:52:51 -0400 X-fm-smtp-source: yes Original-Received: from localhost (localhost [188.143.64.164]) by web-out.onbox.hu (Postfix) with SMTP id 45zBck1LGQzvZc for ; Wed, 31 Jul 2019 13:52:38 +0200 (CEST) X-AccountId: 57978162 X-Originating-Ip: 188.143.64.164 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrleehgdeggecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdcuhfftgffgofetkffnnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffkufggtgfvihffsegrtdersgdttddunecuhfhrohhmpehnuggrmhgvuceovghmrggtshhushgvrhesfhhrvggvmhgrihhlrdhhuheqnecukfhppedukeekrddugeefrdeigedrudeigeenucfrrghrrghmpehhvghloheppdhinhgvthepudekkedrudegfedrieegrdduieegpdhmrghilhhfrhhomhepvghmrggtshhushgvrhesfhhrvggvmhgrihhlrdhhuhdprhgtphhtthhopehhvghlphdqghhnuhdqvghmrggtshesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/relaxed; t=1564573958; s=20181004; d=freemail.hu; h=From:Message-ID:Subject:MIME-Version:Content-Type:To:Date; l=1552; bh=CM8saxdmUkf3sBvA3ss8tLgyRZpHxmqdUlkj7ScZDDI=; b=aE9uev1LDrJXgJZf/zlfU8W2VhrryS84mX7sI+W4jrZH/VVSr2azi0NRADe3kd+X PeksQ9huBe5cKAqMbugN8ZWvS/n2EoLkXcXbJ2yK2lqfJKZnCxXQbTHtRX2L+pH3nZA LmcTi3BtGg9JpcrRZb/GCV5+dDkhkM6VL0uV8hTFb1AbBsDsbyoBF1pYTDbM6xX1Nw6 v5jy0s8zxbaTvP9pUoUp4dEZDocNCWA92CeDPaEG5ZP3vBQ64ROfBqEbeBRLno1GELG XYzlnFner0+AwonrS5sL+MFyqpXCA5J9Z3Uv6Omss6FY3uS7Kqt/cqazFbwZaf/IxBj xJ/TRWYeqA== X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 46.107.16.202 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121283 Archived-At: Lately I've been using emacs for some text data processing, and the input is json sometimes. The problem is the json often comes like this: =C2=A0 [{'time1: '8:00', 'time2': '13:00', ... and the emacs reader chokes on it saying =C2=A0 doesn't start with "! Now I know the json standard says attribute names should be double quoted, but can it be somehow persuaded to accept single quotes instead? It would be great to have an option for this when I know the data is correct, only it uses single quotes instead of doubles. =C2=A0