]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-13198 Deprecate JsonWriter
authorJulien HENRY <julien.henry@sonarsource.com>
Fri, 13 Mar 2020 10:58:17 +0000 (11:58 +0100)
committersonartech <sonartech@sonarsource.com>
Thu, 19 Mar 2020 20:03:53 +0000 (20:03 +0000)
sonar-plugin-api/src/main/java/org/sonar/api/utils/text/JsonWriter.java

index 9cdf96980f7daea40c21181913b3424963f6c2bb..00f15d810b3d93095b3884aaad12d99d123a7865 100644 (file)
@@ -60,9 +60,11 @@ import org.sonar.api.utils.DateUtils;
  * method {@link #close()} closes the underlying writer.
  * </p>
  *
- *
  * @since 4.2
+ * @deprecated since 8.3 this utility class will be moved out of the API. Use your own JSON dependency
+ * if you need to write JSON from your plugin
  */
+@Deprecated
 public class JsonWriter implements AutoCloseable {
 
   private final com.google.gson.stream.JsonWriter stream;