forked from mirror/go-json
11 lines
164 B
Go
11 lines
164 B
Go
|
package json
|
||
|
|
||
|
type EncodeOption func(*Encoder) error
|
||
|
|
||
|
func UnorderedMap() EncodeOption {
|
||
|
return func(e *Encoder) error {
|
||
|
e.unorderedMap = true
|
||
|
return nil
|
||
|
}
|
||
|
}
|