Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for jsonObject (0.12 sec)

  1. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

        }
    
        class TeamCityParallelTests(val numberOfBatches: Int) : ParallelizationMethod()
    
        companion object {
            fun fromJson(jsonObject: JSONObject): ParallelizationMethod {
                val methodJsonObject = jsonObject.getJSONObject("parallelizationMethod") ?: return None
                return when (methodJsonObject.getString("name")) {
                    null -> None
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 05:47:35 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/JsonModelWriter.kt

            }
        }
    
        private
        inline fun <T> jsonObjectList(list: Iterable<T>, body: (T) -> Unit) {
            jsonList(list) {
                jsonObject {
                    body(it)
                }
            }
        }
    
        private
        inline fun jsonObject(body: () -> Unit) {
            beginObject()
            body()
            endObject()
        }
    
        private
        fun beginObject() {
            write('{')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/ValidationProblemSerialization.java

                JsonObject result = new JsonObject();
                result.addProperty("name", problemId.getName());
                result.addProperty("displayName", problemId.getDisplayName());
                result.add("group", serializeGroup(problemId.getGroup()));
                return result;
            }
    
    
            private static JsonObject serializeGroup(ProblemGroup group) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 27.7K bytes
    - Viewed (0)
Back to top