I have same problem with "null" value like in #99
But with JSONSlice.
I have column definition:
Customs datatypes.JSONSlice[*mytypes.KeyValue]
and when create model:
Customs: datatypes.NewJSONSlice(req.Msg.GetCustoms()), // return []*mytypes.KeyValue
when it's empty I have "null" value in column instead of real NULL