Results 1 to 4 of 4

Thread: JSON Diff

  1. #1
    Ext Premium Member
    Join Date
    Sep 2009
    Posts
    48
    Vote Rating
    1
      0  

    Default JSON Diff

    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.

    http://jsondiff.com/

    jsondiff.png

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1382
      0  

    Default

    That's actually pretty cool!
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Ext Premium Member
    Join Date
    Sep 2009
    Posts
    48
    Vote Rating
    1
      0  

    Default

    Hmm. I tried to make this post in the Examples and Extras forum, but it moved me into this topic.

  4. #4
    Sencha User
    Join Date
    Aug 2012
    Posts
    8
    Vote Rating
    0
      0  

    Default

    nbility

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •