Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: flipkart-incubator/zjsonpatch
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: NetNow/zjsonpatch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 11 files changed
  • 2 contributors

Commits on Sep 23, 2015

  1. Added JsonPathDiff to generate JsonPath compatible paths describing t…

    …he data that has changed based on keys, instead of positions.
    
    This required some prior 'knowledge' of the JSON object. Keys need to be set in the config Map. See unit test for an example.
    Steve White committed Sep 23, 2015
    Configuration menu
    Copy the full SHA
    d8d86a9 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2015

  1. Configuration menu
    Copy the full SHA
    d76e52b View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2015

  1. After a diff, a JsonChanges object is now returned with a changes map…

    …. The map keys are a JsonPath refs to changes in the source or target JSON. The map value is the operation, i.e ADD, REMOVE, REPLACE for the JsonPath key.
    
    The source/target JSON is accessible via the JsonChanges object. For example if a record has been removed, we can get the full record which has been removed(from the source JSON). If a record has been replaced, we can see from what (source) and to (target). Added records can be retrieved from the target JSON.
    Steve White committed Nov 5, 2015
    Configuration menu
    Copy the full SHA
    7e3cc72 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2016

  1. SW: Bumped slf4j & jackson versions for DM

    NOTE: hostSvcs_bf.json for JsonPathDiffTest speedtest not added due to size (>14MB)
    Steve White committed Sep 30, 2016
    Configuration menu
    Copy the full SHA
    97923b8 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2018

  1. Configuration menu
    Copy the full SHA
    6b1135f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7ed8d46 View commit details
    Browse the repository at this point in the history
Loading