kndndrj / nvim-dbee

Interactive database client for neovim
GNU General Public License v3.0
710 stars 48 forks source link

Save to JSON should use null, not encode <nil> as a string #17

Closed artfulrobot closed 1 year ago

artfulrobot commented 1 year ago

The JSON save method encodes NULL sql values as "\u003cnil\u003e". It should simply output null.

screenshot

kndndrj commented 1 year ago

Agree!

It just isnt a prio atm.

If you wish, you can explore a bit around this in dbee/outputs/json.go

artfulrobot commented 1 year ago

Never written a line of Go before, so I'll leave that as someone else's good first issue! Thanks.