From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Xu Chunyang Newsgroups: gmane.emacs.bugs Subject: bug#32793: 27.0.50; json-parse-string doesn't have the equivalent of json.el's json-array-type Date: Fri, 21 Sep 2018 20:56:43 +0800 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1537534566 14612 195.159.176.226 (21 Sep 2018 12:56:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 21 Sep 2018 12:56:06 +0000 (UTC) To: 32793@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 21 14:56:01 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3KyX-0003fV-Er for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Sep 2018 14:56:01 +0200 Original-Received: from localhost ([::1]:55630 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g3L0e-0001KL-4z for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Sep 2018 08:58:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g3L0Y-0001K3-0Y for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2018 08:58:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g3L0U-0000DR-0I for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2018 08:58:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43477) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g3L0T-0000DJ-Sj for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2018 08:58:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g3L0T-0007od-R8 for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2018 08:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Xu Chunyang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Sep 2018 12:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32793 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.153753462629974 (code B ref -1); Fri, 21 Sep 2018 12:58:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Sep 2018 12:57:06 +0000 Original-Received: from localhost ([127.0.0.1]:47735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3KzZ-0007nO-Qo for submit@debbugs.gnu.org; Fri, 21 Sep 2018 08:57:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3KzX-0007mv-Rm for submit@debbugs.gnu.org; Fri, 21 Sep 2018 08:57:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g3KzR-0007Qk-SX for submit@debbugs.gnu.org; Fri, 21 Sep 2018 08:56:58 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:59001) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g3KzR-0007Qf-Nn for submit@debbugs.gnu.org; Fri, 21 Sep 2018 08:56:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g3KzQ-0008DS-TN for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2018 08:56:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g3KzM-0007Ni-TT for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2018 08:56:56 -0400 Original-Received: from forward104o.mail.yandex.net ([37.140.190.179]:46761) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g3KzM-0007Ie-Jk for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2018 08:56:52 -0400 Original-Received: from mxback14g.mail.yandex.net (mxback14g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:93]) by forward104o.mail.yandex.net (Yandex) with ESMTP id 60CEC3D82DE2 for ; Fri, 21 Sep 2018 15:56:47 +0300 (MSK) Original-Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback14g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id yCgHRnx2ov-ul8mZ4mw; Fri, 21 Sep 2018 15:56:47 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xuchunyang.me; s=mail; t=1537534607; bh=NHQL+XTDm1HhZyeKBZHvDx3Fj41+4SnelyUnZoz+doo=; h=From:To:Subject:Date:Message-ID; b=Lwj9wukvszhQwNHY3VIKspp+v3h3NNu2DzsYH/6nckpXWRN23WOhTq9lEwDh1vBpF xFOs5xIKkMD8e+Bi15Em62vXBzm/+JufmHTyA+SMHDS2XD8UCQ07qsHGDO1tYgd3y7 wps7NTJwiqSwtOZ7hD/GvDGcfRCnJdWX8q3sFJ9k= Original-Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 5ihapQor8V-ujDOYPLA; Fri, 21 Sep 2018 15:56:46 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xuchunyang.me; s=mail; t=1537534606; bh=NHQL+XTDm1HhZyeKBZHvDx3Fj41+4SnelyUnZoz+doo=; h=From:To:Subject:Date:Message-ID; b=rKqB97WnYAiozIIm0JkGTbUU84OCKCtdZZJNOnqi6QyYR3PY0YGEpLEEmeLTEjYRB UkmQt4fOXImQHkWe7Xy+FWAm6ua0LZUH3O9Vfw2L/Yn7TQAplii+uB2kSzFNImV44E mYWgiIAIpYTJeOdv+TRMftolmRdD6xouqiz9i98M= Authentication-Results: smtp1j.mail.yandex.net; dkim=pass header.i=@xuchunyang.me X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:150521 Archived-At: Hello, We can parse JSON Array as Lisp List with json.el, e.g., (let ((json-array-type 'list)) (json-read-from-string "[1,2,3]")) ;; => (1 2 3) but the new json-parse-string doesn't have the equivalent, thus porting existing code to using json-parse-string might be difficult.