all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thievol@posteo.net>
To: Philipp Stephani <p.stephani2@gmail.com>
Cc: 52683@debbugs.gnu.org
Subject: bug#52683: 27.2; json-parse-string fails to parse embeded strings
Date: Tue, 21 Dec 2021 05:30:47 +0000	[thread overview]
Message-ID: <87tuf2cyih.fsf@posteo.net> (raw)
In-Reply-To: <CAArVCkSuqOufydgQaY93Rj8yLpEKnAoonEnfsr9zjt5T_=cQ7Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 916 bytes --]


Philipp Stephani <p.stephani2@gmail.com> writes:

> Am Mo., 20. Dez. 2021 um 20:55 Uhr schrieb Thierry Volpiatto
> <thievol@posteo.net>:
>> in a json output, I have a string containing a string like this:
>>
>>     "Cime du Pied de Barry : \\"Arêtissime\\""
>
> This is invalid syntax, it should be
>
> "Cime du Pied de Barry : \"Arêtissime\""
>
>> So I wonder if it is a bug in json-parse-string which fails on such
>> string or in the API of the website itself which should not provide such
>> string in their json output.
>
> It's a bug in the website (or some other step in the process
> incorrectly double-escapes quotation marks).

Thanks, I will report to the website.

> However, the webpage you linked (https://skitour.fr/topos/8583) is
> just HTML, it doesn't contain any JSON AFAICS.

Yes, was just a link to show you what it is about and where it comes from.

-- 
Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 686 bytes --]

  reply	other threads:[~2021-12-21  5:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-20 19:43 bug#52683: 27.2; json-parse-string fails to parse embeded strings Thierry Volpiatto
2021-12-20 20:53 ` Philipp Stephani
2021-12-21  5:30   ` Thierry Volpiatto [this message]
2021-12-22  6:03     ` Stefan Kangas
2021-12-22  6:32       ` Thierry Volpiatto
2021-12-22  6:51         ` Stefan Kangas

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=87tuf2cyih.fsf@posteo.net \
    --to=thievol@posteo.net \
    --cc=52683@debbugs.gnu.org \
    --cc=p.stephani2@gmail.com \
    /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.