hashicorp / go-set

The go-set package provides generic Set implementations for Go, including HashSet for types with a Hash() function and TreeSet for orderable data
Mozilla Public License 2.0
118 stars 8 forks source link

sets: support json marshal/unmarshal #39

Closed zonewave closed 1 year ago

zonewave commented 1 year ago

Use serializable as a universal serialization interface。 set,treeSet,hashSet can use marshalJson/unmarshalJson to implement MarshalJSON/UnmarshalJSON

Closes #22

hashicorp-cla commented 1 year ago

CLA assistant check
All committers have signed the CLA.