- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for ObjectMapper (0.07 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateJsonAgainstSchemaTask.java
this.report = report; } @OutputFile public File getReport() { return this.report; } @Internal protected ObjectMapper getMapper() { return new ObjectMapper(); } @Internal protected String getFileType() { return "JSON"; } @TaskAction public void validate(InputChanges inputChanges) throws IOException {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jul 28 11:09:58 GMT 2021 - 5.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateYamlAgainstSchemaTask.java
import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.dataformat.yaml.YAMLFactory; /** * Incremental task to validate a set of YAML files against against a schema. */ public class ValidateYamlAgainstSchemaTask extends ValidateJsonAgainstSchemaTask { @Override protected String getFileType() { return "YAML"; } protected ObjectMapper getMapper() {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jul 28 11:09:58 GMT 2021 - 871 bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt
} data class JsonBasedGradleSubprojectProvider( private val jsonFile: File, ) : GradleSubprojectProvider { private val objectMapper = ObjectMapper().registerKotlinModule() override val subprojects = objectMapper.readValue<List<Map<String, Any>>>(jsonFile.readText()).map { toSubproject(it) } private val nameToSubproject = subprojects.map { it.name to it }.toMap()
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 12 09:12:03 GMT 2025 - 2.4K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/FunctionalTest.kt
val numberOfBatches: Int, ) : ParallelizationMethod() companion object { private val objectMapper = ObjectMapper() fun fromJson(jsonObject: Map<String, Any>): ParallelizationMethod { val methodJsonNode = (jsonObject["parallelizationMethod"] as? Map<*, *>)?.let { objectMapper.valueToTree<JsonNode>(it) } ?: return NoneCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Oct 09 05:26:45 GMT 2025 - 5.3K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt
testBucketsJson: File, ) : FunctionalTestBucketProvider { private val objectMapper = ObjectMapper().registerKotlinModule() private val buckets: Map<TestCoverage, List<BuildTypeBucket>> by lazy { val uuidToTestCoverage = model.stages.flatMap { it.functionalTests }.associateBy { it.uuid } val testCoverageAndBuckets: List<Map<String, Any>> = objectMapper.readValue(testBucketsJson.readText())Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Feb 12 14:43:33 GMT 2026 - 8.1K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateJsonNoKeywordsTask.java
* TypeScript because it's OK to use `delete` as a method name. */ public class ValidateJsonNoKeywordsTask extends DefaultTask { private final ObjectMapper mapper = new ObjectMapper().configure(JsonParser.Feature.ALLOW_COMMENTS, true); private File jsonKeywords; private File report; private FileCollection inputFiles; @Incremental @InputFiles
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 7.6K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ChangelogEntry.java
private String type; private String summary; private Highlight highlight; private Breaking breaking; private Deprecation deprecation; private static final ObjectMapper yamlMapper = new ObjectMapper(new YAMLFactory()); public static ChangelogEntry parse(File file) { try { return yamlMapper.readValue(file, ChangelogEntry.class); } catch (IOException e) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 06:25:29 GMT 2021 - 9.3K bytes - Click Count (0)