Open miscomputer opened 1 year ago
func main() { json1 := { "custom_id":72211083386779239 } json2 := { "custom_id":72211083386779230 }
{ "custom_id":72211083386779239 }
{ "custom_id":72211083386779230 }
diff, _ := gojsondiff.New().Compare([]byte(json1), []byte(json2)) if diff.Modified() { fmt.Println(diff.Deltas()) } else { fmt.Println("Two JSONs are the same.") }
}
func main() { json1 :=
{ "custom_id":72211083386779239 }
json2 :={ "custom_id":72211083386779230 }
}