Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 37 for jsonfile (0.25 seconds)

  1. 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) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Aug 21 15:38:58 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  2. 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()
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Aug 17 08:32:56 GMT 2021
    - 2.5K bytes
    - Click Count (0)
  3. 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()
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1K bytes
    - Click Count (0)
  4. .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,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Apr 10 15:09:32 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  5. .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)
  6. 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:
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            assertEquals("Exported 1 documents.", result);
            // Should create .json file, not .html
            final Path jsonFile = tempDir.resolve("example.com/data.json");
            assertTrue(Files.exists(jsonFile));
            assertFalse(Files.exists(tempDir.resolve("example.com/data.html")));
        }
    
        @Test
        public void test_execute_formatAndQueryChaining() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            final String jspType = "view";
            final File jspFile = getJspFile(form.fileName, jspType);
            try {
                form.content = encodeJsp(new String(FileUtil.readBytes(jspFile), Constants.UTF_8));
            } catch (final UnsupportedEncodingException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  9. docs/ru/docs/tutorial/encoder.md

    Например, если необходимо хранить его в базе данных.
    
    Для этого **FastAPI** предоставляет функцию `jsonable_encoder()`.
    
    ## Использование `jsonable_encoder` { #using-the-jsonable-encoder }
    
    Представим, что у вас есть база данных `fake_db`, которая принимает только JSON-совместимые данные.
    
    Например, она не принимает объекты `datetime`, так как они не совместимы с JSON.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  10. docs/de/docs/tutorial/encoder.md

    Zum Beispiel, wenn Sie es in einer Datenbank speichern möchten.
    
    Dafür bietet **FastAPI** eine Funktion `jsonable_encoder()`.
    
    ## `jsonable_encoder` verwenden { #using-the-jsonable-encoder }
    
    Stellen wir uns vor, Sie haben eine Datenbank `fake_db`, die nur JSON-kompatible Daten entgegennimmt.
    
    Sie akzeptiert zum Beispiel keine `datetime`-Objekte, da die nicht kompatibel mit JSON sind.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 1.8K bytes
    - Click Count (0)
Back to Top