stretchr / objx

Go package for dealing with maps, slices, JSON and other data.
MIT License
687 stars 75 forks source link

Differentiate nil from not found #131

Open Thiht opened 1 year ago

Thiht commented 1 year ago

Hi, objx doesn't make a distinction between keys not existing and keys set to nil: https://go.dev/play/p/UAcl_8eT_BI

Is there an existing way to make the distinction that I've missed? Otherwise I'll be happy to submit a patch