/wro4j-extensions/src/main/java/ro/isdc/wro/extensions/http/handler/ResourceSerializer.java
private final char basePath;
private final String basePath;
import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonPrimitive; import com.google.gson.JsonSerializationContext; import com.google.gson.JsonSerializer; public class ResourceSerializer implements JsonSerializer<Resource> { <extra_id_0> public ResourceSerializer(final String requestURI) { this.basePath = requestURI; } @Override public JsonElement serialize(final Resource resource, final Type type, final JsonSerializationContext context) { final JsonObject jsonObject = new JsonObject();