GNU bug report logs -
#42994
27.1; json-serialize unable to serialize JSON values
Previous Next
Reported by: Jimmy Yuen Ho Wong <wyuenho <at> gmail.com>
Date: Sun, 23 Aug 2020 12:26:02 UTC
Severity: normal
Merged with 46486
Found in versions 27.1, 28.0.50
Done: Philipp <p.stephani2 <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> I'm not sure why you are bringing this up. Even RFC 8259 is 3 years old
> and prior to that people had been sending booleans strings and numbers
> as JSON text for many years.
I'm actually agreeing with you.
I brought it up to point out that at one time
JSON scalar values were typically not considered
to be JSON texts. This explains why some systems,
frameworks, applications, etc. might not support
scalar serialization.
That's all. I do believe that Emacs should
support RFC 8259 (it should always support the
latest JSON specs). And it should support it
by default.
For interoperability with other systems etc. that
do not support scalar texts, it can be useful to
have a mode that, likewise, doesn't support/allow
scalars as JSON texts - e.g., a "disable scalars"
mode, which rejects a document that isn't an
object or an array.
But by default Emacs should support scalar texts.
This bug report was last modified 4 years and 135 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.