Compare two json which has same nested structure and same keys but values can be different?
问题 For example : Json A => { "customer": { "age": 29, "fullName": "Emily Jenkins", "year":1988, "address":{ "lineOne":"lineOne", "lineTwo":"lineTwo" } }, "handset":{ "phone":"0123456789", "colour":"black" } } Json B => { "customer": { "fullName": "Sammy J", "age": 31, "year":1985, "address":{ "lineTwo":"lineTwo", "lineOne":"lineOne" } }, "handset":{ "colour":"red", "phone":"0123456788" } } I want compare these two json and it should return true as keys are matching and both json structure is