diff --git a/.gitignore b/.gitignore
index 7af60cb..222ba6a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ target/*
*.iws
*.idea
flipkart-boot.log
+/target/
diff --git a/pom.xml b/pom.xml
index 6245968..574e742 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,57 +1,60 @@
- 4.0.0
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ 4.0.0
- com.flipkart.zjsonpatch
- zjsonpatch
- 0.2.1
- jar
+ com.myitops.external.com.flipkart.zjsonpatch
+ com.myitops.external.zjsonpatch
+ 0.2.1.2
+ bundle
- zjsonpatch
- Java Library to find / apply JSON Patches according to RFC 6902
- https://github.com/flipkart-incubator/zjsonpatch/
+ zjsonpatch
+ Java Library to find / apply JSON Patches according to RFC 6902
+ https://github.com/NetNow/zjsonpatch/
-
- scm:git:https://github.com/flipkart-incubator/zjsonpatch.git
- scm:git:https://github.com/flipkart-incubator/zjsonpatch.git
- HEAD
- https://github.com/flipkart-incubator/zjsonpatch
-
+
+ scm:git:https://github.com/NetNow/zjsonpatch.git
+ scm:git:https://github.com/NetNow/zjsonpatch.git
+ HEAD
+ https://github.com/NetNow/zjsonpatch
+
-
-
- vishwakarma
- Gopi Vishwakarma
- vishwakarma.iiita@gmail.com
-
-
+
+
+ vishwakarma
+ Gopi Vishwakarma
+ vishwakarma.iiita@gmail.com
+
+
-
-
- The Apache Software License, Version 2.0
- http://www.apache.org/licenses/LICENSE-2.0.txt
- repo
-
-
+
+
+ The Apache Software License, Version 2.0
+ http://www.apache.org/licenses/LICENSE-2.0.txt
+ repo
+
+
-
- UTF-8
-
+
+ UTF-8
+ 1.7.12
+ 1.0.1
+ 2.6.3
+
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- 2.3.1
-
- 1.6
- 1.6
- true
- true
-
-
-
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 2.3.1
+
+ 1.6
+ 1.6
+ true
+ true
+
+
+
+
+ org.apache.felix
+ maven-bundle-plugin
+ 3.4.0
+ true
+
+
+
+
+
+
+ org.slf4j
+ slf4j-api
+ ${slf4j.version}
+
+
+
+ ch.qos.logback
+ logback-classic
+ ${logback.version}
+
+
+
+ ch.qos.logback
+ logback-core
+ ${logback.version}
+
+
+ com.fasterxml.jackson.core
+ jackson-databind
+ ${jackson.version}
+
+
+ com.fasterxml.jackson.core
+ jackson-core
+ ${jackson.version}
+
+
+ com.google.guava
+ guava
+ 18.0
+
+
+ test
+ commons-io
+ commons-io
+ 2.4
+
+
+ test
+ junit
+ junit
+ 4.8.2
+
+
+ org.apache.commons
+ commons-collections4
+ 4.0
+
+
+
+
+
+ thirdparty
+ Thirdparty Repository
+ http://reposerver.int-link.com/nexus/content/repositories/thirdparty
+
+
+ thirdparty-snapshots
+ Thirdparty Snapshot Repository
+ http://reposerver.int-link.com/nexus/content/repositories/thirdparty-snapshots
+
+
diff --git a/src/main/java/com/flipkart/zjsonpatch/Constants.java b/src/main/java/com/flipkart/zjsonpatch/Constants.java
index f9746ee..ec8ea8b 100644
--- a/src/main/java/com/flipkart/zjsonpatch/Constants.java
+++ b/src/main/java/com/flipkart/zjsonpatch/Constants.java
@@ -10,5 +10,7 @@ class Constants {
public static String OP = "op";
public static String VALUE = "value";
public static String PATH = "path";
+ public static String KEY = "key";
public static String FROM = "from";
+ public static String PATH_OBJECT = "object";
}
diff --git a/src/main/java/com/flipkart/zjsonpatch/Diff.java b/src/main/java/com/flipkart/zjsonpatch/Diff.java
index 2a83cb2..dc0f9d2 100644
--- a/src/main/java/com/flipkart/zjsonpatch/Diff.java
+++ b/src/main/java/com/flipkart/zjsonpatch/Diff.java
@@ -13,12 +13,20 @@ class Diff {
private List