Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 302 for orjson (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh-hant/docs/advanced/custom-response.md

    ```json
    {
      "message": "Hello World"
    }
    ```
    
    當然,你大概能找到比格式化 JSON 更好的方式來利用這個能力。😉
    
    ### `orjson` 或回應模型 { #orjson-or-response-model }
    
    如果你追求效能,使用[回應模型](../tutorial/response-model.md) 大概會比使用 `orjson` 回應更好。
    
    有了回應模型,FastAPI 會使用 Pydantic 直接將資料序列化為 JSON,而不需要像其他情況那樣先經過 `jsonable_encoder` 之類的中介步驟。
    
    而且在底層,Pydantic 用來序列化為 JSON 的 Rust 機制和 `orjson` 相同,因此用回應模型已經能獲得最佳效能。
    
    ## 預設回應類別 { #default-response-class }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  2. pyproject.toml

        "python-slugify >=8.0.4",
        "pyyaml >=5.3.1,<7.0.0",
        "typer >=0.21.1",
    ]
    docs-tests = [
        "httpx >=0.23.0,<1.0.0",
        "ruff >=0.14.14",
        # For UJSONResponse
        "ujson >=5.8.0",
        # For ORJSONResponse
        "orjson >=3.9.3",
    ]
    github-actions = [
        "httpx >=0.27.0,<1.0.0",
        "pydantic >=2.9.0,<3.0.0",
        "pydantic-settings >=2.1.0,<3.0.0",
        "pygithub >=2.3.0,<3.0.0",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  3. docs/de/docs/index.md

    Zusätzliche optionale FastAPI-Abhängigkeiten:
    
    * [`orjson`](https://github.com/ijl/orjson) – erforderlich, wenn Sie `ORJSONResponse` verwenden möchten.
    * [`ujson`](https://github.com/esnme/ultrajson) – erforderlich, wenn Sie `UJSONResponse` verwenden möchten.
    
    ## Lizenz { #license }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 23.6K bytes
    - Click Count (1)
  4. docs/uk/docs/index.md

    Додаткові необовʼязкові залежності FastAPI:
    
    * [`orjson`](https://github.com/ijl/orjson) - потрібно, якщо ви хочете використовувати `ORJSONResponse`.
    * [`ujson`](https://github.com/esnme/ultrajson) - потрібно, якщо ви хочете використовувати `UJSONResponse`.
    
    ## Ліцензія { #license }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  5. docs/tr/docs/index.md

    Ek opsiyonel FastAPI bağımlılıkları:
    
    * [`orjson`](https://github.com/ijl/orjson) - `ORJSONResponse` kullanmak istiyorsanız gereklidir.
    * [`ujson`](https://github.com/esnme/ultrajson) - `UJSONResponse` kullanmak istiyorsanız gereklidir.
    
    ## Lisans { #license }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 23.2K bytes
    - Click Count (0)
  6. docs/zh/docs/index.md

    * [`pydantic-extra-types`](https://docs.pydantic.dev/latest/usage/types/extra_types/extra_types/) - 用于在 Pydantic 中使用的额外类型。
    
    额外的 FastAPI 可选依赖:
    
    * [`orjson`](https://github.com/ijl/orjson) - 使用 `ORJSONResponse` 时需要。
    * [`ujson`](https://github.com/esnme/ultrajson) - 使用 `UJSONResponse` 时需要。
    
    ## 许可协议 { #license }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 20.7K bytes
    - Click Count (0)
  7. docs/es/docs/index.md

    Dependencias opcionales adicionales de FastAPI:
    
    * [`orjson`](https://github.com/ijl/orjson) - Requerido si deseas usar `ORJSONResponse`.
    * [`ujson`](https://github.com/esnme/ultrajson) - Requerido si deseas usar `UJSONResponse`.
    
    ## Licencia { #license }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  8. docs/pt/docs/index.md

    Dependências opcionais adicionais do FastAPI:
    
    * [`orjson`](https://github.com/ijl/orjson) - Obrigatório se você deseja utilizar o `ORJSONResponse`.
    * [`ujson`](https://github.com/esnme/ultrajson) - Obrigatório se você deseja utilizar o `UJSONResponse`.
    
    ## Licença { #license }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  9. docs/fr/docs/index.md

    Dépendances optionnelles supplémentaires pour FastAPI :
    
    * [`orjson`](https://github.com/ijl/orjson) - Obligatoire si vous souhaitez utiliser `ORJSONResponse`.
    * [`ujson`](https://github.com/esnme/ultrajson) - Obligatoire si vous souhaitez utiliser `UJSONResponse`.
    
    ## Licence { #license }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  10. docs/ja/docs/index.md

    * [`pydantic-extra-types`](https://docs.pydantic.dev/latest/usage/types/extra_types/extra_types/) - Pydantic で使用する追加の型のため。
    
    追加のオプション FastAPI 依存関係:
    
    * [`orjson`](https://github.com/ijl/orjson) - `ORJSONResponse` を使用したい場合に必要です。
    * [`ujson`](https://github.com/esnme/ultrajson) - `UJSONResponse` を使用したい場合に必要です。
    
    ## ライセンス { #license }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 25.6K bytes
    - Click Count (0)
Back to Top