22 Aug 2012 11:44 AM #1
I wrote a little page using Ext 4.0.7 to visualize the difference between two JSON objects to make my own life easier. It's not the cleanest code by any means, and it's a work in progress.
There are other diff tools out there that do a fine job, but I find them hard to read at a glance. The tool I wrote keeps the two objects visually separated, but allows you to identify what values changed (yellow) and what keys aren't present in the other object (green). Selecting a row highlights the corresponding row in the other object.
22 Aug 2012 11:45 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
That's actually pretty cool!Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
22 Aug 2012 11:54 AM #3
Hmm. I tried to make this post in the Examples and Extras forum, but it moved me into this topic.
28 Aug 2012 7:58 PM #4