--- !ditz.rubyforge.org,2008-03-06/issue title: -i option to compare only mentioned keys desc: "" type: :feature component: json_diff release: reporter: Matej Cepl status: :unstarted disposition: creation_time: 2011-11-16 11:06:20.989309 Z references: [] id: b10a9a16798679380fc9a2c184e9fe0d13e5abcf log_events: - - 2011-11-16 11:06:21.529346 Z - Matej Cepl - created - "" - - 2011-11-16 11:08:22.147340 Z - Matej Cepl - commented - |- Right, this code for name in keys: # Explicitly excluded arguments logging.debug("name = %s (inc = %s, excl = %s)", name, unicode(self.included_attributes), unicode(self.excluded_attributes)) if ((self.included_attributes and (name not in self.included_attributes)) or (name in self.excluded_attributes)): continue # old_obj is missing is wrong. We need to dive into all dictionaries and arrays and only down there to decide.