Subject: bug#43549: 28.0.50; json-encode-string: Text is read-only

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 22 Sep 2020 17:10:42 +0200

Sam Steingold <[email-masked]> writes:

> Evaluate the following in the *scratch* buffer of emacs -Q:
>
> (require 'json)
> (setq s "asdf")
> (put-text-property 1 2  'read-only t s)
> (let ((json--long-string-threshold 0))
>   (json-encode-string s))
>
> the result is an error message
>
> json-encode-string: Text is read-only

It looks like you fixed this problem on the trunk already?  So I'm
closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no