Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,549 for ujson (0.06 seconds)

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

  1. tests/test_deprecated_responses.py

            response = client.get("/items")
        assert response.status_code == 200
        assert response.json() == {"name": "widget", "price": 9.99}
    
    
    def test_orjson_response_emits_deprecation_warning():
        with pytest.warns(FastAPIDeprecationWarning, match="ORJSONResponse is deprecated"):
            ORJSONResponse(content={"hello": "world"})
    
    
    # UJSON
    
    
    def _make_ujson_app() -> FastAPI:
        with warnings.catch_warnings():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 22 16:34:59 GMT 2026
    - 2K bytes
    - Click Count (0)
  2. pyproject.toml

        "pillow >=11.3.0",
        "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",
    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/uk/docs/index.md

    * **Заснований на стандартах**: базується на (і повністю сумісний з) відкритими стандартами для API: [OpenAPI](https://github.com/OAI/OpenAPI-Specification) (раніше відомий як Swagger) та [JSON Schema](https://json-schema.org/).
    
    <small>* оцінка на основі тестів, проведених внутрішньою командою розробників, що створює продакшн-застосунки.</small>
    
    ## Спонсори { #sponsors }
    
    <!-- sponsors -->
    
    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)
  4. docs/de/docs/index.md

    * **Standards-basiert**: Basierend auf (und vollständig kompatibel mit) den offenen Standards für APIs: [OpenAPI](https://github.com/OAI/OpenAPI-Specification) (früher bekannt als Swagger) und [JSON Schema](https://json-schema.org/).
    
    <small>* Schätzung basierend auf Tests, die von einem internen Entwicklungsteam durchgeführt wurden, das Produktionsanwendungen erstellt.</small>
    
    ## Sponsoren { #sponsors }
    
    <!-- sponsors -->
    
    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)
  5. docs/zh/docs/index.md

        * 自动补全。
        * 类型检查。
    * 数据校验:
        * 当数据无效时自动生成清晰的错误信息。
        * 即便是多层嵌套的 JSON 对象也会进行校验。
    * <dfn title="也被称为:序列化、解析、编组">转换</dfn>输入数据:从网络读取到 Python 数据和类型。读取来源:
        * JSON。
        * 路径参数。
        * 查询参数。
        * Cookies。
        * Headers。
        * Forms。
        * Files。
    * <dfn title="也被称为:序列化、解析、编组">转换</dfn>输出数据:从 Python 数据和类型转换为网络数据(JSON):
        * 转换 Python 类型(`str`、`int`、`float`、`bool`、`list` 等)。
        * `datetime` 对象。
    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)
  6. docs/tr/docs/index.md

    * **Standardlara dayalı**: API'lar için açık standartlara dayalıdır (ve tamamen uyumludur); [OpenAPI](https://github.com/OAI/OpenAPI-Specification) (önceden Swagger olarak biliniyordu) ve [JSON Schema](https://json-schema.org/).
    
    <small>* tahmin, production uygulamalar geliştiren dahili bir geliştirme ekibinin yaptığı testlere dayanmaktadır.</small>
    
    ## Sponsorlar { #sponsors }
    
    <!-- sponsors -->
    
    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)
  7. docs/en/docs/index.md

    * For `PUT` requests to `/items/{item_id}`, read the body as JSON:
        * Check that it has a required attribute `name` that should be a `str`.
        * Check that it has a required attribute `price` that has to be a `float`.
        * Check that it has an optional attribute `is_offer`, that should be a `bool`, if present.
        * All this would also work for deeply nested JSON objects.
    * Convert from and to JSON automatically.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  8. docs/es/docs/index.md

        * Revisa que tiene un atributo requerido `name` que debe ser un `str`.
        * Revisa que tiene un atributo requerido `price` que debe ser un `float`.
        * Revisa que tiene un atributo opcional `is_offer`, que debe ser un `bool`, si está presente.
        * Todo esto también funcionaría para objetos JSON profundamente anidados.
    * Convertirá de y a JSON automáticamente.
    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)
  9. docs/pt/docs/index.md

        * Verifica que tem um atributo obrigatório `name` que deve ser `str`.
        * Verifica que tem um atributo obrigatório `price` que tem que ser um `float`.
        * Verifica que tem um atributo opcional `is_offer`, que deve ser um `bool`, se presente.
        * Tudo isso também funcionaria para objetos JSON profundamente aninhados.
    * Converter de e para JSON automaticamente.
    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)
  10. docs/fr/docs/index.md

    * **Basé sur des normes** : basé sur (et entièrement compatible avec) les standards ouverts pour les APIs : [OpenAPI](https://github.com/OAI/OpenAPI-Specification) (précédemment connu sous le nom de Swagger) et [JSON Schema](https://json-schema.org/).
    
    <small>* estimation basée sur des tests d'une équipe de développement interne, construisant des applications de production.</small>
    
    ## Sponsors { #sponsors }
    
    <!-- sponsors -->
    
    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)
Back to Top