On 27 říj, 10:50, mcepl <mc...@redhat.com> 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 nested. On each level I
can have not only append/remove/update subobjects, but also number of
subtrees. Something like this would be better picture:

{
    "append": {
        "c": 3
    },
    "remove": {
        "b": 2
    },
    "update": {
        "a": 2,
        "children": {
            "update": {
                "son": "Ivánek"
            },
            "append": {
                "daughter": "Maruška"
            }
        }
    }
}
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to