- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for jsonFile (0.09 sec)
-
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy
def jsonFile def setup() { jsonFile = new File(temporaryFolder, 'acceptedChanges.json') } def "can clean existing API changes"() { given: jsonFile << existingAcceptedApiChanges() when: jsonFileManager.emptyAcceptedApiChanges(jsonFile) then: jsonFile.text == nonExistentAcceptedApiChanges() }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Aug 17 08:32:56 UTC 2021 - 2.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManager.groovy
*/ package gradlebuild.binarycompatibility import com.google.gson.Gson import com.google.gson.stream.JsonWriter class AcceptedApiChangesJsonFileManager { void emptyAcceptedApiChanges(File jsonFile) { jsonFile.withWriter { fileWriter -> def writer = new JsonWriter(fileWriter) writer.setIndent(" ") new Gson().toJson([acceptedApiChanges: []], Object, writer) writer.close()
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt
fun getSubprojectByName(name: String): GradleSubproject? } data class JsonBasedGradleSubprojectProvider(private val jsonFile: File) : GradleSubprojectProvider { @Suppress("UNCHECKED_CAST") override val subprojects = JSON.parseArray(jsonFile.readText()).map { toSubproject(it as Map<String, Any>) } private val nameToSubproject = subprojects.map { it.name to it }.toMap()
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 02 14:55:06 UTC 2023 - 2.2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt
private val buckets: Map<TestCoverage, List<SmallSubprojectBucket>> = buildBuckets(testTimeDataJson, model) fun generate(jsonFile: File) { jsonFile.writeText( JSON.toJSONString( buckets.map { TestCoverageAndBucketSplits(it.key.uuid, it.value.map { it.toJsonBucket() }) },
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Aug 29 11:04:49 UTC 2024 - 8.5K bytes - Viewed (0) -
kotlin-js-store/yarn.lock
integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== jsonfile@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" integrity sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg== optionalDependencies:
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jul 22 12:28:51 UTC 2023 - 87.4K bytes - Viewed (0) -
docs/en/docs/release-notes.md
* Before this, the return content was first passed through `jsonable_encoder` to ensure it was a "jsonable" object, like a `dict`, instead of an arbitrary object with attributes (like an ORM model). That's why you should make sure to update your Pydantic models for objects with attributes to use `orm_mode = True`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Nov 01 11:25:57 UTC 2024 - 460.3K bytes - Viewed (0)