What is an Atmosphere account?
By logging in you agree to the terms, privacy policy and community guidelines.
Don't have an account? Create one
1 2 3 4 5 6 7 8 9
package jsonx import "encoding/json" func Equal(a, b any) bool { x, err1 := json.Marshal(a) y, err2 := json.Marshal(b) return err1 == nil && err2 == nil && string(x) == string(y) }