- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 3,776 for gson (0.12 sec)
-
platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/ValidationProblemSerialization.java
import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParseException; import com.google.gson.JsonSerializationContext; import com.google.gson.JsonSerializer; import com.google.gson.TypeAdapter;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 27.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChanges.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.binarycompatibility import com.google.gson.Gson import com.google.gson.reflect.TypeToken import org.gradle.util.GradleVersion class AcceptedApiChanges { GradleVersion baseVersion Map<ApiChange, String> acceptedChanges
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/test/groovy/org/gradle/plugin/devel/tasks/internal/ValidationProblemSerializationTest.groovy
given: def problem = problemReporter.create { it.id("id", "label", GradleCoreProblemGroup.validation()) } when: def json = gson.toJson([problem]) def deserialized = ValidationProblemSerialization.parseMessageList(json) then: deserialized.size() == 1 deserialized[0].definition.id.name == "id" deserialized[0].definition.id.displayName == "label"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 08:30:15 UTC 2024 - 9.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt
val gson: Gson = GsonBuilder().setPrettyPrinting().create() val initialString = gson.toJson(AcceptedApiChanges(changes)) return adjustIndentation(initialString) + "\n" } /** * It appears there is no way to configure Gson to use 4 spaces instead of 2 for indentation. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 2K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/ProblemReportAdapterFactory.java
import com.google.gson.Gson; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParseException; import com.google.gson.JsonPrimitive; import com.google.gson.TypeAdapter; import com.google.gson.TypeAdapterFactory; import com.google.gson.reflect.TypeToken; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 13:35:05 UTC 2024 - 4K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/templates/build-src-plugin-java-module-transform/application/src/main/java/org/gradle/sample/app/Main.java
printModuleDebug(BeanUtils.class); } String json = cmd.getOptionValue("json"); Message message = new Gson().fromJson(json == null ? "{}" : json, Message.class); Object copy = BeanUtils.cloneBean(message); System.out.println(); System.out.println("Original: " + copy.toString()); System.out.println("Copy: " + copy.toString()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/templates/build-src-plugin-java-module-transform/application/src/main/java/module-info.java
module org.gradle.sample.app { exports org.gradle.sample.app; opens org.gradle.sample.app.data; // allow Gson to access via reflection requires com.google.gson; requires org.apache.commons.lang3; requires org.apache.commons.cli; requires org.apache.commons.beanutils;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 295 bytes - Viewed (0) -
build-logic/packaging/src/main/kotlin/gradlebuild/instrumentation/tasks/UpgradedPropertiesMergeTask.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.instrumentation.tasks import com.google.gson.Gson import com.google.gson.JsonArray import com.google.gson.JsonParser import gradlebuild.instrumentation.transforms.InstrumentationMetadataTransform import org.gradle.api.DefaultTask import org.gradle.api.file.ConfigurableFileCollection
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 19 08:13:17 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java-library/module/groovy/src/main/java/org/gradle/sample/SampleClass.java
package org.gradle.sample; import com.google.gson.Gson; import org.apache.commons.lang3.StringUtils; public class SampleClass {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 132 bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild.wrapper.gradle.kts
import gradlebuild.basics.capitalize import com.google.gson.Gson import java.net.URL wrapperUpdateTask("nightly", "nightly") wrapperUpdateTask("rc", "release-candidate") wrapperUpdateTask("current", "current") tasks.withType<Wrapper>().configureEach { val jvmOpts = "-Dfile.encoding=UTF-8" inputs.property("jvmOpts", jvmOpts) doLast { val optsEnvVar = "DEFAULT_JVM_OPTS"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 1.4K bytes - Viewed (0)