- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for jsonFile (0.55 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindMissingDocumentationFiles.java
FileCollection jsonFiles = getJsonFilesDirectory().getAsFileTree().filter(file -> file.getName().endsWith(".json")); try { List<String> allErrors = new ArrayList<>(); Set<String> allExistingAnchors = findAllAdocAnchors(directoryPath); for (File jsonFile : jsonFiles) {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Aug 21 15:38:58 UTC 2025 - 8.5K bytes - Viewed (0) -
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 Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Aug 17 08:32:56 UTC 2021 - 2.5K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt
private val buckets: Map<TestCoverage, List<SmallSubprojectBucket>> = buildBuckets(testTimeDataJson, model) fun generate(jsonFile: File) { val output = buckets.map { TestCoverageAndBucketSplits(it.key.uuid, it.value.map { it.toJsonBucket() }) } jsonFile.writeText(gson.toJson(output)) } private fun buildBuckets( buildClassTimeJson: File,
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Apr 10 15:09:32 UTC 2025 - 7.3K 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 Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1K bytes - Viewed (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()
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Feb 12 09:12:03 UTC 2025 - 2.4K 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 Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jul 22 12:28:51 UTC 2023 - 87.4K bytes - Viewed (0) -
docs/en/docs/tutorial/encoder.md
For example, if you need to store it in a database. For that, **FastAPI** provides a `jsonable_encoder()` function. ## Using the `jsonable_encoder` { #using-the-jsonable-encoder } Let's imagine that you have a database `fake_db` that only receives JSON compatible data. For example, it doesn't receive `datetime` objects, as those are not compatible with JSON.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 1.7K bytes - Viewed (0) -
docs/pt/docs/tutorial/encoder.md
Por exemplo, se você precisar armazená-lo em um banco de dados. Para isso, **FastAPI** fornece uma função `jsonable_encoder()`. ## Usando a função `jsonable_encoder` { #using-the-jsonable-encoder } Vamos imaginar que você tenha um banco de dados `fake_db` que recebe apenas dados compatíveis com JSON. Por exemplo, ele não recebe objetos `datetime`, pois estes objetos não são compatíveis com JSON.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 1.8K bytes - Viewed (0) -
docs/en/docs/advanced/response-directly.md
This gives you a lot of flexibility. You can return any data type, override any data declaration or validation, etc. ## Using the `jsonable_encoder` in a `Response` { #using-the-jsonable-encoder-in-a-response } Because **FastAPI** doesn't make any changes to a `Response` you return, you have to make sure its contents are ready for it.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.1K bytes - Viewed (0) -
docs/ru/docs/tutorial/encoder.md
Например, если необходимо хранить его в базе данных. Для этого **FastAPI** предоставляет функцию `jsonable_encoder()`. ## Использование `jsonable_encoder` { #using-the-jsonable-encoder } Представим, что у вас есть база данных `fake_db`, которая принимает только JSON-совместимые данные. Например, он не принимает объекты `datetime`, так как они не совместимы с JSON.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 2.7K bytes - Viewed (0)