1
- ## Travis builds now enabled
2
-
3
- Builds are now verified by Travis (see [ issue #20 ] ( https://github.com/daveclayton/json-patch/issues/20 ) for details)
4
-
5
- https://travis-ci.org/daveclayton/json-patch
1
+ [ ![ License LGPLv3] [ LGPLv3 badge ]] [ LGPLv3 ]
2
+ [ ![ License ASL 2.0] [ ASL 2.0 badge ]] [ ASL 2.0 ]
3
+ [ ![ Build Status] [ Travis badge ]] [ Travis ]
4
+ [ ![ Maven Central] [ Maven Central badge ]] [ Maven ]
6
5
7
6
## Read me first
8
7
9
8
This project, as of version 1.4, is licensed under both LGPLv3 and ASL 2.0. See
10
9
file LICENSE for more details. Versions 1.3 and lower are licensed under LGPLv3
11
10
only.
12
11
12
+ ** Note the "L" in "LGPL". LGPL AND GPL ARE QUITE DIFFERENT!**
13
+
13
14
## What this is
14
15
15
16
This is an implementation of [ RFC 6902 (JSON Patch)] ( http://tools.ietf.org/html/rfc6902 ) and [ RFC
@@ -33,20 +34,22 @@ With Gradle:
33
34
34
35
``` groovy
35
36
dependencies {
36
- compile(group: "com.github.fge ", name: "json-patch", version: "yourVersionHere");
37
+ compile(group: "com.github.java-json-tools ", name: "json-patch", version: "yourVersionHere");
37
38
}
38
39
```
39
40
40
41
With Maven:
41
42
42
43
``` xml
43
44
<dependency >
44
- <groupId >com.github.fge </groupId >
45
+ <groupId >com.github.java-json-tools </groupId >
45
46
<artifactId >json-patch</artifactId >
46
47
<version >yourVersionHere</version >
47
48
</dependency >
48
49
```
49
50
51
+ Versions before 1.10 are available at ` groupId ` ` com.github.fge ` .
52
+
50
53
## JSON "diff" factorization
51
54
52
55
When computing the difference between two JSON texts (in the form of ` JsonNode ` instances), the diff
@@ -147,3 +150,11 @@ Applying a patch also uses an `.apply()` method:
147
150
final JsonNode patched = patch. apply(orig);
148
151
```
149
152
153
+ [ LGPLv3 badge ] : https://img.shields.io/:license-LGPLv3-blue.svg
154
+ [ LGPLv3 ] : http://www.gnu.org/licenses/lgpl-3.0.html
155
+ [ ASL 2.0 badge ] : https://img.shields.io/:license-Apache%202.0-blue.svg
156
+ [ ASL 2.0 ] : http://www.apache.org/licenses/LICENSE-2.0.html
157
+ [ Travis Badge ] : https://api.travis-ci.org/java-json-tools/json-patch.svg?branch=master
158
+ [ Travis ] : https://travis-ci.org/java-json-tools/json-patch
159
+ [ Maven Central badge ] : https://img.shields.io/maven-central/v/com.github.java-json-tools/json-patch.svg
160
+ [ Maven ] : https://search.maven.org/artifact/com.github.java-json-tools/json-patch
0 commit comments