Pretty print array/json in diff #87
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. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
https://github.com/Wilfred/difftastic may help as well if you are willing to call an external 3rd-party executable. |
Beta Was this translation helpful? Give feedback.
-
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?
Beta Was this translation helpful? Give feedback.
All reactions