guregu / null

reasonable handling of nullable values
BSD 2-Clause "Simplified" License
1.84k stars 238 forks source link

add a custom json marshaller with support of omitempty #42

Closed Scukerman closed 4 years ago

guregu commented 4 years ago

I appreciate this but I'm afraid it's beyond the scope of the package. I don't want to maintain a custom JSON marshaler. Feel free to fork this and add if you'd like. I hope Go adds support for omitempty and this becomes unnecessary.