[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to test for native JSON support?
From: |
Tim Landscheidt |
Subject: |
Re: How to test for native JSON support? |
Date: |
Tue, 04 May 2021 11:40:41 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com> wrote:
> json-serialize would return nil if libjansson library is not
> available during the execution time. So the scenario would
> be someone building Emacs with json support, then forgetting
> to put libjansson on his path and/or moving the binary to
> another machine. Not very likely to happen on any POSIX
> systems, but a more or less tangible case on Windows.
That's a rather unexpected, at least undocumented failure
mode (vulgo: a bug). IMNSHO in that case json-serialize
should either "work" or throw an error.
Tim
- How to test for native JSON support?, Joost Kremers, 2021/05/02
- Re: How to test for native JSON support?, Nikolay Kudryavtsev, 2021/05/02
- Re: How to test for native JSON support?, Dmitry Gutov, 2021/05/03
- Re: How to test for native JSON support?, Nikolay Kudryavtsev, 2021/05/03
- Re: How to test for native JSON support?, Dmitry Gutov, 2021/05/03
- Re: How to test for native JSON support?,
Tim Landscheidt <=
- Re: How to test for native JSON support?, Eli Zaretskii, 2021/05/04
- Re: How to test for native JSON support?, Joost Kremers, 2021/05/04
- Re: How to test for native JSON support?, Eli Zaretskii, 2021/05/04
- Re: How to test for native JSON support?, Joost Kremers, 2021/05/04
- Re: How to test for native JSON support?, Dmitry Gutov, 2021/05/04
- Re: How to test for native JSON support?, Eli Zaretskii, 2021/05/04
- Re: How to test for native JSON support?, Dmitry Gutov, 2021/05/04
- Re: How to test for native JSON support?, Philipp Stephani, 2021/05/04
- Re: How to test for native JSON support?, Dmitry Gutov, 2021/05/04
- Re: How to test for native JSON support?, Eli Zaretskii, 2021/05/04