Pretty print array/json in diff #87
Unanswered
mansoorkhan96
asked this question in
Q&A
Replies: 3 comments 7 replies
|
I don't think this library will do that, but still I suggest that you give an EXACT expected input/output. Your description is just too vague making me unwilling to assume this assume that and finally find out we are talking about different things and wasting time. |
3 replies
|
What this lib does is basically the This lib doesn't and won't handle any structured input. It's just pure string comparison like the |
1 reply
|
https://github.com/Wilfred/difftastic may help as well if you are willing to call an external 3rd-party executable. |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
I am using this in a Laravel/Filament plugin to show a diff between different versions of models. I am wondering if it is possible to show diff for arrays or json in a formatted / prettier way?
If it can take a string and also take a param to specify if its a json string, so that i can format and show in a nice readable way?
All reactions