def json_integrity_multilevel(d1, d2):
keys = [x for x in d2]<EOL>for key in keys:<EOL><INDENT>d1_keys = set(d1.keys())<EOL>d2_keys = set(d2.keys())<EOL>intersect_keys = d1_keys.intersection(d2_keys)<EOL>added = d1_keys - d2_keys<EOL>removed = d2_keys - d1_keys<EOL>modified = {o : (d1[o], d2[o]) for o in intersect_keys if d1[o] != d2[o]}<EOL>same = set(o for o in intersect_keys if d1[o] == d2[o])<EOL>if added == removed == set():<EOL><INDENT>d1_values = [x for x in d1.values()][<NUM_LIT:0>]<EOL>print('<STR_LIT>' + str(d1_values))<EOL>d2_values = [x for x in d2.values()][<NUM_LIT:0>]<EOL>print('<STR_LIT>' + str(d2_values))<EOL>length = len(d2_values)<EOL>print('<STR_LIT>' % length)<EOL>pdb.set_trace()<EOL>if length > <NUM_LIT:1>:<EOL><INDENT>d1 = d1_values.items()<EOL>d2 = d2_values.items()<EOL><DEDENT><DEDENT>else:<EOL><INDENT>return False<EOL><DEDENT><DEDENT>return True<EOL>
still under development