mediamtx/internal/conf/jsonwrapper
Alessandro Ros a4561a8339
prevent setting slices to null (#5375)
In Golang, slices can be set to nil, while in most other languages they
cannot. This causes compatibility issues, especially because the
OpenAPI definition of the API does not allow slices to be nil. This
prevents slices from being set to nil through JSON/YAML, and
also sets default slices to an empty list instead of nil.
2026-01-25 19:49:39 +01:00
..
unmarshal.go prevent setting slices to null (#5375) 2026-01-25 19:49:39 +01:00
unmarshal_test.go prevent setting slices to null (#5375) 2026-01-25 19:49:39 +01:00