Skip to content

Commit

Permalink
Add :null as json null object this is not an resolution #72
Browse files Browse the repository at this point in the history
See comment.
  • Loading branch information
svaante committed Mar 8, 2024
1 parent a0d937e commit fcb386c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dape.el
Original file line number Diff line number Diff line change
Expand Up @@ -1296,6 +1296,13 @@ timeout period is configurable with `dape-request-timeout' *"
('nil :json-false)
;; FIXME Need a way to create json null values
;; see #72, :null could be an candidate.
;; Using :null is quite harmless as it has
;; no friction with `dape-configs'
;; evaluation. So it should be fine to keep
;; supporting it even if it's not the way
;; forwards.
(:null
nil)
((pred vectorp)
(cl-map 'vector #'transform-value value))
((pred listp)
Expand Down

0 comments on commit fcb386c

Please sign in to comment.