perf: Update to use json-smart

This commit is contained in:
Ben Woo 2023-02-03 20:15:46 +08:00
parent 83f5a4a701
commit ccf802e32f
2 changed files with 10 additions and 4 deletions

View File

@ -330,6 +330,12 @@
<artifactId>CommandHandler</artifactId>
<version>11</version>
</dependency>
<!-- End of CommandHandler Dependency -->
<dependency>
<groupId>net.minidev</groupId>
<artifactId>json-smart</artifactId>
<version>2.4.1</version>
</dependency>
<dependency>
<groupId>com.dumptruckman.minecraft</groupId>
<artifactId>buscript</artifactId>

View File

@ -1,12 +1,12 @@
package com.onarandombox.MultiverseCore.utils.webpaste;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;
import java.io.IOException;
import java.util.Map;
import net.minidev.json.JSONObject;
import net.minidev.json.parser.JSONParser;
import net.minidev.json.parser.ParseException;
/**
* A {@link URLShortener} using {@code bit.ly}. Requires an access token.
*/