File tree 25 files changed +54
-50
lines changed
io/github/orangain/jsonmatch
25 files changed +54
-50
lines changed Original file line number Diff line number Diff line change @@ -27,14 +27,14 @@ dependencies {
27
27
28
28
java {
29
29
toolchain {
30
- languageVersion.set(JavaLanguageVersion .of(8 ))
30
+ languageVersion.set(JavaLanguageVersion .of(11 ))
31
31
}
32
32
withSourcesJar()
33
33
withJavadocJar()
34
34
}
35
35
tasks.withType<KotlinCompile > {
36
36
compilerOptions {
37
- jvmTarget.set(JvmTarget .JVM_1_8 )
37
+ jvmTarget.set(JvmTarget .JVM_11 )
38
38
}
39
39
}
40
40
Original file line number Diff line number Diff line change 3
3
import com .fasterxml .jackson .core .JsonProcessingException ;
4
4
import com .fasterxml .jackson .databind .JsonNode ;
5
5
import com .fasterxml .jackson .databind .ObjectMapper ;
6
+ import io .github .orangain .jsonmatch .json .JsonPath ;
7
+ import io .github .orangain .jsonmatch .json .JsonUtil ;
8
+ import io .github .orangain .jsonmatch .parser .JsonMatchPatternParser ;
6
9
import io .github .orangain .jsonmatch .pattern .JsonPatternNode ;
7
10
8
11
import java .util .Optional ;
Original file line number Diff line number Diff line change 1
- package io .github .orangain .jsonmatch ;
1
+ package io .github .orangain .jsonmatch . json ;
2
2
3
3
import org .jetbrains .annotations .NotNull ;
4
4
Original file line number Diff line number Diff line change 1
- package io .github .orangain .jsonmatch ;
1
+ package io .github .orangain .jsonmatch . json ;
2
2
3
3
import com .fasterxml .jackson .core .JsonProcessingException ;
4
4
import com .fasterxml .jackson .databind .ObjectMapper ;
@@ -13,7 +13,7 @@ public class JsonUtil {
13
13
* Get the singleton instance of the Jackson {@link ObjectMapper}.
14
14
* @return The singleton instance of the Jackson {@link ObjectMapper}.
15
15
*/
16
- static ObjectMapper getObjectMapper () {
16
+ public static ObjectMapper getObjectMapper () {
17
17
if (objectMapper == null ) {
18
18
objectMapper = new ObjectMapper ();
19
19
}
Original file line number Diff line number Diff line change 1
- package io .github .orangain .jsonmatch ;
1
+ package io .github .orangain .jsonmatch . parser ;
2
2
3
3
import com .fasterxml .jackson .databind .JsonNode ;
4
+ import io .github .orangain .jsonmatch .json .JsonUtil ;
4
5
import io .github .orangain .jsonmatch .pattern .*;
5
6
import io .github .orangain .jsonmatch .pattern .valuemarker .*;
6
7
import org .jetbrains .annotations .NotNull ;
Original file line number Diff line number Diff line change 1
1
package io .github .orangain .jsonmatch .pattern ;
2
2
3
3
import com .fasterxml .jackson .databind .JsonNode ;
4
- import io .github .orangain .jsonmatch .JsonMatchErrorDetail ;
5
- import io .github .orangain .jsonmatch .JsonPath ;
4
+ import io .github .orangain .jsonmatch .json .JsonPath ;
6
5
import org .jetbrains .annotations .NotNull ;
7
6
8
7
import java .util .List ;
Original file line number Diff line number Diff line change 1
1
package io .github .orangain .jsonmatch .pattern ;
2
2
3
3
import com .fasterxml .jackson .databind .JsonNode ;
4
- import io .github .orangain .jsonmatch .JsonMatchErrorDetail ;
5
- import io .github .orangain .jsonmatch .JsonPath ;
4
+ import io .github .orangain .jsonmatch .json .JsonPath ;
6
5
import org .jetbrains .annotations .NotNull ;
7
6
import org .jetbrains .annotations .Nullable ;
8
7
Original file line number Diff line number Diff line change 1
1
package io .github .orangain .jsonmatch .pattern ;
2
2
3
3
import com .fasterxml .jackson .databind .JsonNode ;
4
- import io .github .orangain .jsonmatch .JsonMatchErrorDetail ;
5
- import io .github .orangain .jsonmatch .JsonPath ;
4
+ import io .github .orangain .jsonmatch .json .JsonPath ;
6
5
import org .jetbrains .annotations .NotNull ;
7
6
8
7
import java .util .Optional ;
Original file line number Diff line number Diff line change 1
- package io .github .orangain .jsonmatch ;
1
+ package io .github .orangain .jsonmatch . pattern ;
2
2
3
+ import io .github .orangain .jsonmatch .json .JsonPath ;
3
4
import org .jetbrains .annotations .NotNull ;
4
5
5
6
/**
Original file line number Diff line number Diff line change 1
1
package io .github .orangain .jsonmatch .pattern ;
2
2
3
3
import com .fasterxml .jackson .databind .JsonNode ;
4
- import io .github .orangain .jsonmatch .JsonMatchErrorDetail ;
5
- import io .github .orangain .jsonmatch .JsonPath ;
4
+ import io .github .orangain .jsonmatch .json .JsonPath ;
6
5
import org .jetbrains .annotations .NotNull ;
7
6
8
7
import java .util .Optional ;
Original file line number Diff line number Diff line change 1
1
package io .github .orangain .jsonmatch .pattern ;
2
2
3
3
import com .fasterxml .jackson .databind .JsonNode ;
4
- import io .github .orangain .jsonmatch .JsonMatchErrorDetail ;
5
- import io .github .orangain .jsonmatch .JsonPath ;
6
- import io .github .orangain .jsonmatch .JsonUtil ;
4
+ import io .github .orangain .jsonmatch .json .JsonPath ;
5
+ import io .github .orangain .jsonmatch .json .JsonUtil ;
7
6
import org .jetbrains .annotations .NotNull ;
8
7
9
8
import java .util .HashSet ;
Original file line number Diff line number Diff line change 1
1
package io .github .orangain .jsonmatch .pattern ;
2
2
3
3
import com .fasterxml .jackson .databind .JsonNode ;
4
- import io .github .orangain .jsonmatch .JsonMatchErrorDetail ;
5
- import io .github .orangain .jsonmatch .JsonPath ;
4
+ import io .github .orangain .jsonmatch .json .JsonPath ;
6
5
import org .jetbrains .annotations .NotNull ;
7
6
8
7
import java .util .Optional ;
Original file line number Diff line number Diff line change 1
1
package io .github .orangain .jsonmatch .pattern ;
2
2
3
3
import com .fasterxml .jackson .databind .JsonNode ;
4
- import io .github .orangain .jsonmatch .JsonMatchErrorDetail ;
5
- import io .github .orangain .jsonmatch .JsonPath ;
4
+ import io .github .orangain .jsonmatch .json .JsonPath ;
6
5
import org .jetbrains .annotations .NotNull ;
7
6
8
7
import java .util .Optional ;
Original file line number Diff line number Diff line change 1
1
package io .github .orangain .jsonmatch .pattern .valuemarker ;
2
2
3
3
import com .fasterxml .jackson .databind .JsonNode ;
4
- import io .github .orangain .jsonmatch .JsonMatchErrorDetail ;
5
- import io .github .orangain .jsonmatch .JsonPath ;
6
- import io .github .orangain .jsonmatch .JsonUtil ;
4
+ import io .github .orangain .jsonmatch .pattern . JsonMatchErrorDetail ;
5
+ import io .github .orangain .jsonmatch .json . JsonPath ;
6
+ import io .github .orangain .jsonmatch .json . JsonUtil ;
7
7
import io .github .orangain .jsonmatch .pattern .ValuePatternNode ;
8
8
import org .jetbrains .annotations .NotNull ;
9
9
Original file line number Diff line number Diff line change 1
1
package io .github .orangain .jsonmatch .pattern .valuemarker ;
2
2
3
3
import com .fasterxml .jackson .databind .JsonNode ;
4
- import io .github .orangain .jsonmatch .JsonMatchErrorDetail ;
5
- import io .github .orangain .jsonmatch .JsonPath ;
6
- import io .github .orangain .jsonmatch .JsonUtil ;
4
+ import io .github .orangain .jsonmatch .pattern . JsonMatchErrorDetail ;
5
+ import io .github .orangain .jsonmatch .json . JsonPath ;
6
+ import io .github .orangain .jsonmatch .json . JsonUtil ;
7
7
import io .github .orangain .jsonmatch .pattern .ValuePatternNode ;
8
8
import org .jetbrains .annotations .NotNull ;
9
9
Original file line number Diff line number Diff line change 1
1
package io .github .orangain .jsonmatch .pattern .valuemarker ;
2
2
3
3
import com .fasterxml .jackson .databind .JsonNode ;
4
- import io .github .orangain .jsonmatch .JsonMatchErrorDetail ;
5
- import io .github .orangain .jsonmatch .JsonPath ;
6
- import io .github .orangain .jsonmatch .JsonUtil ;
4
+ import io .github .orangain .jsonmatch .pattern . JsonMatchErrorDetail ;
5
+ import io .github .orangain .jsonmatch .json . JsonPath ;
6
+ import io .github .orangain .jsonmatch .json . JsonUtil ;
7
7
import io .github .orangain .jsonmatch .pattern .JsonPatternNode ;
8
8
import io .github .orangain .jsonmatch .pattern .ValuePatternNode ;
9
9
import org .jetbrains .annotations .NotNull ;
Original file line number Diff line number Diff line change 1
1
package io .github .orangain .jsonmatch .pattern .valuemarker ;
2
2
3
3
import com .fasterxml .jackson .databind .JsonNode ;
4
- import io .github .orangain .jsonmatch .JsonMatchErrorDetail ;
5
- import io .github .orangain .jsonmatch .JsonPath ;
6
- import io .github .orangain .jsonmatch .JsonUtil ;
4
+ import io .github .orangain .jsonmatch .pattern . JsonMatchErrorDetail ;
5
+ import io .github .orangain .jsonmatch .json . JsonPath ;
6
+ import io .github .orangain .jsonmatch .json . JsonUtil ;
7
7
import io .github .orangain .jsonmatch .pattern .ValuePatternNode ;
8
8
import org .jetbrains .annotations .NotNull ;
9
9
Original file line number Diff line number Diff line change 1
1
package io .github .orangain .jsonmatch .pattern .valuemarker ;
2
2
3
3
import com .fasterxml .jackson .databind .JsonNode ;
4
- import io .github .orangain .jsonmatch .JsonMatchErrorDetail ;
5
- import io .github .orangain .jsonmatch .JsonPath ;
6
- import io .github .orangain .jsonmatch .JsonUtil ;
4
+ import io .github .orangain .jsonmatch .pattern . JsonMatchErrorDetail ;
5
+ import io .github .orangain .jsonmatch .json . JsonPath ;
6
+ import io .github .orangain .jsonmatch .json . JsonUtil ;
7
7
import io .github .orangain .jsonmatch .pattern .ValuePatternNode ;
8
8
import org .jetbrains .annotations .NotNull ;
9
9
Original file line number Diff line number Diff line change 1
1
package io .github .orangain .jsonmatch .pattern .valuemarker ;
2
2
3
3
import com .fasterxml .jackson .databind .JsonNode ;
4
- import io .github .orangain .jsonmatch .JsonMatchErrorDetail ;
5
- import io .github .orangain .jsonmatch .JsonPath ;
6
- import io .github .orangain .jsonmatch .JsonUtil ;
4
+ import io .github .orangain .jsonmatch .pattern . JsonMatchErrorDetail ;
5
+ import io .github .orangain .jsonmatch .json . JsonPath ;
6
+ import io .github .orangain .jsonmatch .json . JsonUtil ;
7
7
import io .github .orangain .jsonmatch .pattern .ValuePatternNode ;
8
8
import org .jetbrains .annotations .NotNull ;
9
9
Original file line number Diff line number Diff line change 1
1
package io .github .orangain .jsonmatch .pattern .valuemarker ;
2
2
3
3
import com .fasterxml .jackson .databind .JsonNode ;
4
- import io .github .orangain .jsonmatch .JsonMatchErrorDetail ;
5
- import io .github .orangain .jsonmatch .JsonPath ;
4
+ import io .github .orangain .jsonmatch .pattern . JsonMatchErrorDetail ;
5
+ import io .github .orangain .jsonmatch .json . JsonPath ;
6
6
import io .github .orangain .jsonmatch .pattern .ValuePatternNode ;
7
7
import org .jetbrains .annotations .NotNull ;
8
8
Original file line number Diff line number Diff line change 2
2
3
3
import com .fasterxml .jackson .databind .JsonNode ;
4
4
import com .fasterxml .jackson .databind .node .JsonNodeType ;
5
- import io .github .orangain .jsonmatch .JsonMatchErrorDetail ;
6
- import io .github .orangain .jsonmatch .JsonPath ;
7
- import io .github .orangain .jsonmatch .JsonUtil ;
5
+ import io .github .orangain .jsonmatch .pattern . JsonMatchErrorDetail ;
6
+ import io .github .orangain .jsonmatch .json . JsonPath ;
7
+ import io .github .orangain .jsonmatch .json . JsonUtil ;
8
8
import io .github .orangain .jsonmatch .pattern .ValuePatternNode ;
9
9
import org .jetbrains .annotations .NotNull ;
10
10
Original file line number Diff line number Diff line change 1
1
package io .github .orangain .jsonmatch .pattern .valuemarker ;
2
2
3
3
import com .fasterxml .jackson .databind .JsonNode ;
4
- import io .github .orangain .jsonmatch .JsonMatchErrorDetail ;
5
- import io .github .orangain .jsonmatch .JsonPath ;
6
- import io .github .orangain .jsonmatch .JsonUtil ;
4
+ import io .github .orangain .jsonmatch .pattern . JsonMatchErrorDetail ;
5
+ import io .github .orangain .jsonmatch .json . JsonPath ;
6
+ import io .github .orangain .jsonmatch .json . JsonUtil ;
7
7
import io .github .orangain .jsonmatch .pattern .ValuePatternNode ;
8
8
import org .jetbrains .annotations .NotNull ;
9
9
Original file line number Diff line number Diff line change
1
+ module io .github .orangain .jsonmatch {
2
+ requires com .fasterxml .jackson .databind ;
3
+ requires org .assertj .core ;
4
+ requires org .jetbrains .annotations ;
5
+ exports io .github .orangain .jsonmatch ;
6
+ }
You can’t perform that action at this time.
0 commit comments