v0.0.422
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m29s
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m29s
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user