returnnil,fmt.Errorf("cannot marshal something of type %T into JSON because parameterized type is ‘%T’ rather than ‘bool’ or ‘string’",receiver,receiver.value)
}
ifreceiver.isnothing(){
returnnil,fmt.Errorf("cannot marshal opt.Nothing[%T]() into JSON",receiver.value)