[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45032: 26.3; json-pretty-print of JSON with dict containing 't' as a
From: |
Philipp Stephani |
Subject: |
bug#45032: 26.3; json-pretty-print of JSON with dict containing 't' as a key causes error |
Date: |
Sun, 6 Dec 2020 18:02:35 +0100 |
Am So., 6. Dez. 2020 um 14:37 Uhr schrieb Lars Ingebrigtsen <larsi@gnus.org>:
>
> Philipp Stephani <p.stephani2@gmail.com> writes:
>
> >> I think it's important that native and Elisp JSON serialisation are as
> >> consistent as possible here;
> >
> > I don't think that's realistic: any change in behavior to either of
> > these functions would be a breaking change.
>
> I think we should have JSON/Elisp round trips that are 100%
> reproducible. The current functions certainly aren't.
I don't understand why that is so important. I designed the C JSON
functions partially because I disagree with some aspects of API design
and behavior of the Elisp functions, so they are pretty much
incompatible on purpose. Trying to make them compatible would make the
C functions worse.
The one thing that I could imagine would be feasible would be:
(1) Document the precise behavior of the C JSON functions, including
all edge cases.
(2) Provide polyfills in Elisp that replicate that exact behavior.
(3) Deprecate the other Elisp functions.
- bug#45032: 26.3; json-pretty-print of JSON with dict containing 't' as a key causes error, Henry Minsky, 2020/12/03
- bug#45032: 26.3; json-pretty-print of JSON with dict containing 't' as a key causes error, Lars Ingebrigtsen, 2020/12/04
- bug#45032: 26.3; json-pretty-print of JSON with dict containing 't' as a key causes error, Basil L. Contovounesios, 2020/12/05
- bug#45032: 26.3; json-pretty-print of JSON with dict containing 't' as a key causes error, Philipp Stephani, 2020/12/05
- bug#45032: 26.3; json-pretty-print of JSON with dict containing 't' as a key causes error, Basil L. Contovounesios, 2020/12/05
- bug#45032: 26.3; json-pretty-print of JSON with dict containing 't' as a key causes error, Lars Ingebrigtsen, 2020/12/06
- bug#45032: 26.3; json-pretty-print of JSON with dict containing 't' as a key causes error,
Philipp Stephani <=
- bug#45032: 26.3; json-pretty-print of JSON with dict containing 't' as a key causes error, Lars Ingebrigtsen, 2020/12/06
- bug#45032: 26.3; json-pretty-print of JSON with dict containing 't' as a key causes error, Philipp Stephani, 2020/12/06
- bug#45032: 26.3; json-pretty-print of JSON with dict containing 't' as a key causes error, Lars Ingebrigtsen, 2020/12/07
- Message not available
- bug#45032: 26.3; json-pretty-print of JSON with dict containing 't' as a key causes error, Lars Ingebrigtsen, 2020/12/08
- bug#45032: 26.3; json-pretty-print of JSON with dict containing 't' as a key causes error, Dmitry Gutov, 2020/12/06
- bug#45032: 26.3; json-pretty-print of JSON with dict containing 't' as a key causes error, Philipp Stephani, 2020/12/12
- bug#45032: 26.3; json-pretty-print of JSON with dict containing 't' as a key causes error, Dmitry Gutov, 2020/12/12
- bug#45032: 26.3; json-pretty-print of JSON with dict containing 't' as a key causes error, Philipp Stephani, 2020/12/13
- bug#45032: 26.3; json-pretty-print of JSON with dict containing 't' as a key causes error, Dmitry Gutov, 2020/12/13