Closed ananthakumaran closed 3 years ago
json-pretty-print-buffer fails if there is a map with t as one of the keys. Changing the key type to string solves the issue.
t
I am not sure why this is required and not done by json-pretty-print-buffer by default.
I reported it to emacs https://debbugs.gnu.org/cgi/bugreport.cgi?bug=46811 and looks like it's already fixed in emacs 28 branch
Thanks for the fix, and for adding a test!
json-pretty-print-buffer fails if there is a map with
t
as one of the keys. Changing the key type to string solves the issue.I am not sure why this is required and not done by json-pretty-print-buffer by default.