How to compare whether two objects as json

IF (the JSON.stringify (ojb1) == the JSON.stringify (ojb1)) {
Alert ( 'Like')
} the else {
Alert ( 'different')
}

Guess you like

Origin blog.csdn.net/qq_32486011/article/details/93379417