Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 691 - 700 of 1,314 for orjson (0.05 seconds)

  1. build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/GeneratePackageInfoDataTask.kt

            }
    
            val outputData = results.groupBy(keySelector = { it.first }, valueTransform = { it.second })
            outputFile.get().asFile.writeText(Gson().toJson(outputData))
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 15:37:56 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/body-multiple-params.md

    /// note | 注意
    
    请注意,在这种情况下,将从请求体获取的 `item` 是可选的。因为它的默认值为 `None`。
    
    ///
    
    ## 多个请求体参数 { #multiple-body-parameters }
    
    在上面的示例中,*路径操作*将期望一个具有 `Item` 的属性的 JSON 请求体,就像:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2
    }
    ```
    
    但是你也可以声明多个请求体参数,例如 `item` 和 `user`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial005_py310.py hl[2,8] *}
    
    该字符串将被检查是否为有效的 URL,并在 JSON Schema / OpenAPI 文档中进行记录。
    
    ## 带有一组子模型的属性 { #attributes-with-lists-of-submodels }
    
    你还可以将 Pydantic 模型用作 `list`、`set` 等的子类型:
    
    {* ../../docs_src/body_nested_models/tutorial006_py310.py hl[18] *}
    
    这将期望(转换,校验,记录文档等)下面这样的 JSON 请求体:
    
    ```JSON hl_lines="11"
    {
        "name": "Foo",
        "description": "The pretender",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  4. docs/tr/docs/how-to/separate-openapi-schemas.md

    Bunu OpenAPI'de ifade etmenin yolu, bu alanı **required** olarak işaretlemektir; çünkü her zaman yer alacaktır.
    
    Bu nedenle, bir modelin JSON Schema'sı **input mu output mu** kullanıldığına göre farklı olabilir:
    
    * **input** için `description` **required olmaz**
    * **output** için **required olur** (ve `None` olabilir; JSON açısından `null`)
    
    ### Dokümanlarda Output Modeli { #model-for-output-in-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 15:43:38 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  5. internal/config/bool-flag.go

    package config
    
    import (
    	"encoding/json"
    	"fmt"
    	"strconv"
    	"strings"
    )
    
    // BoolFlag - wrapper bool type.
    type BoolFlag bool
    
    // String - returns string of BoolFlag.
    func (bf BoolFlag) String() string {
    	if bf {
    		return "on"
    	}
    
    	return "off"
    }
    
    // MarshalJSON - converts BoolFlag into JSON data.
    func (bf BoolFlag) MarshalJSON() ([]byte, error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 07 15:10:40 GMT 2022
    - 2.3K bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/path-params.md

    Puedes devolver *miembros de enum* desde tu *path operation*, incluso anidados en un cuerpo JSON (por ejemplo, un `dict`).
    
    Serán convertidos a sus valores correspondientes (cadenas en este caso) antes de devolverlos al cliente:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[18,21,23] *}
    
    En tu cliente recibirás un response JSON como:
    
    ```JSON
    {
      "model_name": "alexnet",
      "message": "Deep Learning FTW!"
    }
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/path-params.md

    You can return *enum members* from your *path operation*, even nested in a JSON body (e.g. a `dict`).
    
    They will be converted to their corresponding values (strings in this case) before returning them to the client:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[18,21,23] *}
    
    In your client you will get a JSON response like:
    
    ```JSON
    {
      "model_name": "alexnet",
      "message": "Deep Learning FTW!"
    }
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  8. cmd/admin-handlers-pools.go

    		return
    	}
    
    	// Rebalance routine is run on the first node of any pool participating in rebalance.
    	pools.StartRebalance()
    
    	b, err := json.Marshal(struct {
    		ID string `json:"id"`
    	}{ID: id})
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, b)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/job/IndexExportFormatter.java

    public interface IndexExportFormatter {
    
        /**
         * Returns the file extension for this format (e.g. ".html", ".json").
         *
         * @return the file extension including the leading dot
         */
        String getFileExtension();
    
        /**
         * Returns the default index file name for this format (e.g. "index.html", "index.json").
         *
         * @return the index file name
         */
        String getIndexFileName();
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Feb 07 10:31:36 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  10. docs/tr/docs/tutorial/request-forms-and-files.md

    /// warning | Uyarı
    
    Bir *path operation* içinde birden fazla `File` ve `Form` parametresi tanımlayabilirsiniz; ancak request'in body'si `application/json` yerine `multipart/form-data` ile encode edileceği için, JSON olarak almayı beklediğiniz `Body` alanlarını aynı anda tanımlayamazsınız.
    
    Bu **FastAPI** kısıtı değildir; HTTP protokolünün bir parçasıdır.
    
    ///
    
    ## Özet { #recap }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 1.6K bytes
    - Click Count (0)
Back to Top