Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1061 - 1070 of 1,775 for gson (0.02 sec)

  1. docs/fr/docs/index.md

    <small>* estimation basée sur des tests d'une équipe de développement interne, construisant des applications de production.</small>
    
    ## Sponsors
    
    <!-- sponsors -->
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. docs/auditlog/auditlog-echo.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bytes"
    	"encoding/json"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"net/http"
    )
    
    var port int
    
    func init() {
    	flag.IntVar(&port, "port", 8080, "Port to listen on")
    }
    
    func mainHandler(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                        val v2Jar = v2.tasks.named("jar")
                        val newUpgradedPropertiesFile = layout.buildDirectory.file("gradle-api-info/new-upgraded-properties.json")
                        val oldUpgradedPropertiesFile = layout.buildDirectory.file("gradle-api-info/old-upgraded-properties.json")
                        val extractGradleApiInfo = tasks.register<ExtractGradleApiInfoTask>("extractGradleApiInfo") {
                            gradleApiInfoJarPrefix = "v"
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 30 10:14:25 UTC 2025
    - 18K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt

                                cleanDestination = true
                                val perfResultArtifactRule =
                                    "results/performance/build/test-results-*.zip!performance-tests/perf-results*.json => " +
                                        "$performanceResultsDir/${performanceTest.bucketIndex}/"
                                artifactRules =
                                    if (index == 0) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Dec 22 07:15:16 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/plugin/DeleteBody.java

     * Extends the standard plugin DeleteForm to provide JSON request body functionality
     * for REST API operations.
     */
    public class DeleteBody extends DeleteForm {
    
        /**
         * Creates a new instance of DeleteBody.
         * This constructor initializes the request body for plugin deletion API operations,
         * extending the standard plugin DeleteForm with JSON request body functionality.
         */
        public DeleteBody() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_dependencies/test_tutorial008d.py

        assert response.status_code == 404, response.text
        assert response.json() == {"detail": "Item not found, there's only a plumbus here"}
    
    
    def test_get(mod: ModuleType):
        client = TestClient(mod.app)
        response = client.get("/items/plumbus")
        assert response.status_code == 200, response.text
        assert response.json() == "plumbus"
    
    
    def test_internal_error(mod: ModuleType):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  7. docs/uk/docs/alternatives.md

    Він не дуже добре обробляє вкладені моделі. Отже, якщо тіло JSON у запиті є об’єктом JSON із внутрішніми полями, які, у свою чергу, є вкладеними об’єктами JSON, його неможливо належним чином задокументувати та перевірити.
    
    /// check | Надихнуло **FastAPI** на
    
    Використовувати типи Python, щоб мати чудову підтримку редактора.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 38.1K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/request-files.md

    /// note | Starlette 技术细节
    
    **FastAPI** 的 `UploadFile` 直接继承自 **Starlette** 的 `UploadFile`,但添加了一些必要功能,使之与 **Pydantic** 及 FastAPI 的其它部件兼容。
    
    ///
    
    ## 什么是 「表单数据」
    
    与 JSON 不同,HTML 表单(`<form></form>`)向服务器发送数据通常使用「特殊」的编码。
    
    **FastAPI** 要确保从正确的位置读取数据,而不是读取 JSON。
    
    /// note | 技术细节
    
    不包含文件时,表单数据一般用 `application/x-www-form-urlencoded`「媒体类型」编码。
    
    但表单包含文件时,编码为 `multipart/form-data`。使用了 `File`,**FastAPI** 就知道要从请求体的正确位置获取文件。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. docs/zh-hant/docs/features.md

    * 使用 <a href="https://json-schema.org/" class="external-link" target="_blank"><strong>JSON Schema</strong></a>(因為 OpenAPI 本身就是基於 JSON Schema)自動生成資料模型文件。
    * 經過縝密的研究後圍繞這些標準進行設計,而不是事後在已有系統上附加的一層功能。
    * 這也讓我們在多種語言中可以使用自動**用戶端程式碼生成**。
    
    ### 能夠自動生成文件
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. tests/preload_test.go

    	DB.Preload("Team").Preload("Languages").Preload("Friends").First(&user, "name = ?", user.Name)
    
    	if r, err := json.Marshal(&user); err != nil {
    		t.Errorf("failed to marshal users, got error %v", err)
    	} else if !regexp.MustCompile(`"Team":\[\],"Languages":\[\],"Friends":\[\]`).MatchString(string(r)) {
    		t.Errorf("json marshal is not empty slice, got %v", string(r))
    	}
    
    	var results []User
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top