package info.u_team.u_team_core.util;

import java.io.IOException;
import java.io.Writer;

import com.google.gson.Gson;
import com.google.gson.internal.Streams;
import com.google.gson.stream.JsonWriter;

public class GsonUtil {
	
	public static JsonWriter createTabWriter(Gson gson, Writer writer) throws IOException {
		final var jsonWriter = gson.newJsonWriter(Streams.writerForAppendable(writer));
		jsonWriter.setIndent("	"); // Use tab instead of two spaces
		return jsonWriter;
	}
	
}

@@ -201,33 +201,292 @@
 r;%0A%0A
-public class GsonUtil %7B%0A%09
+/**%0A * Utility class for gson%0A * %0A * @author HyCraftHD%0A */%0Apublic class GsonUtil %7B%0A%09%0A%09/**%0A%09 * Creates a %7B@link JsonWriter%7D with the indent set to one tab%0A%09 * %0A%09 * @param gson Gson instance%0A%09 * @param writer Write%0A%09 * @return Configured writer with one tab%0A%09 * @throws IOException%0A%09 */
 %0A%09pu

Add gson util docs