Re: Presenting recursive dict (json_diff)

2011-10-27 Thread Terry Reedy
On 10/27/2011 4:58 PM, Matej Cepl wrote: Dne 27.10.2011 21:49, Terry Reedy napsal(a): Use '_append', etc, much like namedtuple does, for the same reason. Right, done. What about the presentation issue? Any ideas? No. -- Terry Jan Reedy -- http://mail.python.org/mailman/listinfo/python-list

Re: Presenting recursive dict (json_diff)

2011-10-27 Thread Matej Cepl
Dne 27.10.2011 21:49, Terry Reedy napsal(a): Use '_append', etc, much like namedtuple does, for the same reason. Right, done. What about the presentation issue? Any ideas? Best, Matěj -- http://mail.python.org/mailman/listinfo/python-list

Re: Presenting recursive dict (json_diff)

2011-10-27 Thread Terry Reedy
On 10/27/2011 4:50 AM, mcepl wrote: Hi, I have here a simple script (https://gitorious.org/json_diff/mainline) which makes a diff between two JSON files. So for JSON objects { "a": 1, "b": 2, "son": { "name": "Janošek" } } and { "a": 2, "c": 3, "dau

Re: Presenting recursive dict (json_diff)

2011-10-27 Thread mcepl
On 27 říj, 10:50, mcepl wrote: > Hi, > > I have here a simple script (https://gitorious.org/json_diff/mainline) > which makes a diff between two JSON files. So for JSON objects and I have completely burried to lead on this. The point is that the resulting object can be endlessly recursively neste

Presenting recursive dict (json_diff)

2011-10-27 Thread mcepl
Hi, I have here a simple script (https://gitorious.org/json_diff/mainline) which makes a diff between two JSON files. So for JSON objects { "a": 1, "b": 2, "son": { "name": "Janošek" } } and { "a": 2, "c": 3, "daughter": { "name": "Maruška" } } i