On Mon, Jul 24, 2017 at 4:51 AM, Kai Willadsen <[email protected]>
wrote:

> On Jul 24, 2017 9:09 PM, "standa mitrega" <[email protected]> wrote:
>
>
> Hi all
>
>
> Are there any ideas / plans to use meld as tool to compare json files?
> Comparing json files as plain text files doesn't provide best results.
> It's better if there is some context-aware comparison on each level of json
> strucure.
>
> Or maybe yaml files. As json is just subset of yaml.
>
> Was there discussion regarding such functionality?
>
>
> I'm not sure what you had in mind, but if you're thinking of doing a
> structure aware comparison, then no that's not a thing that Meld is likely
> to do. The algorithms for doing this are extremely different to a standard
> diff, and the user interface would also have to be quite different.
>
> Cheers,
> Kai
>
>
> _______________________________________________
> meld-list mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/meld-list
>


If you need to diff JSON files (or any structured text for that matter),
I'd suggest you find/write an app that pretty-prints the text; one element
per line, (ie lots of new-lines) and then run meld on the two post
processed files.
_______________________________________________
meld-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/meld-list

Reply via email to