v0.0.422
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m29s

This commit is contained in:
2024-03-23 20:29:46 +01:00
parent 16146494dc
commit 8bf3a337cf
2 changed files with 2 additions and 6 deletions

View File

@@ -16,10 +16,6 @@ func (m JsonOpt[T]) MarshalJSON() ([]byte, error) {
return []byte("null"), nil // actually this would be undefined - but undefined is not valid JSON
}
if m.value == nil {
return []byte("null"), nil
}
return json.Marshal(m.value)
}