Click here to Skip to main content
15,886,578 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I Have Two Json Strings that might have different values at some point of time , and i want to know if is it possible to compare them using jQuery?

For Instance ;
I have these Two Json strings

//First Json
var Json1 = {"Name":"Blah";"Work":"Programmer"};

//Second Json
var Json2 = {"Name":"Foo";"Work":"Programmer"};

Here , the Values Of Name key are different so i would like to perform specific task on it.

Help Please..
Posted

See, for instance, this Stack Overflow question: "detect differences between two strings with Javascript"[^].
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900