Skip to content

Commit

Permalink
Drop support for org.json:json-based JSON parsing
Browse files Browse the repository at this point in the history
Closes gh-8710
  • Loading branch information
wilkinsona committed May 4, 2017
1 parent 05cf41b commit 11c3c4c
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 137 deletions.
6 changes: 0 additions & 6 deletions spring-boot-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
<joda-time.version>2.9.9</joda-time.version>
<jolokia.version>1.3.6</jolokia.version>
<jooq.version>3.9.1</jooq.version>
<json.version>20140107</json.version>
<jsonassert.version>1.5.0</jsonassert.version>
<json-path.version>2.2.0</json-path.version>
<jstl.version>1.2</jstl.version>
Expand Down Expand Up @@ -1787,11 +1786,6 @@
<artifactId>jolokia-core</artifactId>
<version>${jolokia.version}</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>${json.version}</version>
</dependency>
<dependency>
<groupId>org.jooq</groupId>
<artifactId>jooq</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions spring-boot-docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -463,11 +463,6 @@
<artifactId>infinispan-spring4-embedded</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-core</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions spring-boot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,6 @@
<artifactId>hibernate-validator</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-core</artifactId>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -26,7 +26,6 @@
* @see GsonJsonParser
* @see YamlJsonParser
* @see JsonSimpleJsonParser
* @see JsonJsonParser
* @see BasicJsonParser
*/
public abstract class JsonParserFactory {
Expand All @@ -50,9 +49,6 @@ public static JsonParser getJsonParser() {
if (ClassUtils.isPresent("org.json.simple.JSONObject", null)) {
return new JsonSimpleJsonParser();
}
if (ClassUtils.isPresent("org.json.JSONObject", null)) {
return new JsonJsonParser();
}
return new BasicJsonParser();
}

Expand Down

This file was deleted.

0 comments on commit 11c3c4c

Please sign in to comment.