Today if you are doing web development and if you don't know what is ajax and what is JSON probably you are not what you say you are...... I always use a tool pretty print JSON which is very handy when I want to compare the objects.. it's http://jsbeautifier.org/ . You can use a diff or meld to compare files pretty printed by this..........