-
-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
include Support for JSON compare #102
Comments
@saikrishnaakula, did you find another react component to compare jsons ? |
Not sure if this will help you but I did this to get around it.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify |
@kaniseo, yeah. but you can also sort json fields and values and compare them with DiffMethod.LINES |
Thank you, Definitly it will help but we have to take care of sorting json by keys
|
I worked around the field sorting by using https://github.com/substack/json-stable-stringify and passing in the result to
|
Library only work for Text can we add support for JSON
The text was updated successfully, but these errors were encountered: