Commit cce7832
committed
Parse JSON false as :json-false instead of nil
This would break code actions where the server sends us an action
containing a `false` boolean parameter. `lsp-mode` would translate this
into `nil`, and then send a `null` back to the language server. An
example of this causing problems was
emacs-lsp#4184.
There may be parts of `lsp-mode` that expect `false` values to be parsed
as `nil`, so any logic involving parsed booleans may need to be updated.1 parent 9c3ebe4 commit cce7832
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6740 | 6740 | | |
6741 | 6741 | | |
6742 | 6742 | | |
6743 | | - | |
| 6743 | + | |
6744 | 6744 | | |
6745 | 6745 | | |
6746 | 6746 | | |
| |||
6757 | 6757 | | |
6758 | 6758 | | |
6759 | 6759 | | |
6760 | | - | |
| 6760 | + | |
6761 | 6761 | | |
6762 | 6762 | | |
6763 | 6763 | | |
| |||
8626 | 8626 | | |
8627 | 8627 | | |
8628 | 8628 | | |
8629 | | - | |
| 8629 | + | |
8630 | 8630 | | |
8631 | 8631 | | |
8632 | 8632 | | |
| |||
0 commit comments