mirror of
https://github.com/SagerNet/sing.git
synced 2025-04-06 05:17:38 +03:00
badjson: Improve omitempty
This commit is contained in:
parent
d9685947f9
commit
b9ca6f256a
3 changed files with 32 additions and 2 deletions
5
common/json/badjson/empty.go
Normal file
5
common/json/badjson/empty.go
Normal file
|
@ -0,0 +1,5 @@
|
|||
package badjson
|
||||
|
||||
type isEmpty interface {
|
||||
IsEmpty() bool
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue