all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philipp <p.stephani2@gmail.com>
To: Thomas Hisch <thomas.hisch@ims.co.at>
Cc: 46486@debbugs.gnu.org
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	[thread overview]
Message-ID: <1255227A-65C5-4FF1-8923-6000545A72D6@gmail.com> (raw)
In-Reply-To: <86v9aw9nt2.fsf@ims.co.at>



> Am 13.02.2021 um 13:04 schrieb Thomas Hisch <thomas.hisch@ims.co.at>:
> 
> 
> (json-parse-string "\"abc\"")
> -> progn: could not parse JSON stream: "'[' or '{' expected near '\"abc\"'", "<string>", 1, 5, 5
> 
> Note that strings that neither start with [ nor { are valid JSON objects
> according to the JSON schema.
> 

That contradicts RFC 4627, which states: "A JSON text is a serialized object or array."






  parent reply	other threads:[~2021-02-13 12:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-13 12:04 bug#46486: 28.0.50; json-parse-string missing support for key-less json strings Thomas Hisch
2021-02-13 12:08 ` bug#46486: (no subject) Thomas Hisch
2021-02-13 12:24 ` Philipp [this message]
2021-02-13 12:33   ` bug#46486: 28.0.50; json-parse-string missing support for key-less json strings Philipp
2021-02-13 23:22     ` bug#46486: [External] : " Drew Adams
2021-02-13 12:35   ` Basil L. Contovounesios
2021-02-13 23:20   ` bug#46486: [External] : " Drew Adams
2021-02-13 12:30 ` Basil L. Contovounesios

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1255227A-65C5-4FF1-8923-6000545A72D6@gmail.com \
    --to=p.stephani2@gmail.com \
    --cc=46486@debbugs.gnu.org \
    --cc=thomas.hisch@ims.co.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.