Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,260 for ujson (0.01 sec)

  1. fastapi/responses.py

    try:
        import ujson
    except ImportError:  # pragma: nocover
        ujson = None  # type: ignore
    
    
    try:
        import orjson
    except ImportError:  # pragma: nocover
        orjson = None  # type: ignore
    
    
    class UJSONResponse(JSONResponse):
        """
        JSON response using the high-performance ujson library to serialize data to JSON.
    
        Read more about it in the
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. docs/ko/docs/advanced/custom-response.md

    ///
    
    ### `UJSONResponse`
    
    <a href="https://github.com/ultrajson/ultrajson" class="external-link" target="_blank">`ujson`</a>을 사용한 또 다른 JSON 응답 형식입니다.
    
    /// info | 정보
    
    이 응답을 사용하려면 `ujson`을 설치해야합니다. 예: 'pip install ujson`.
    
    ///
    
    /// warning | 경고
    
    `ujson` 은 일부 예외 경우를 처리하는 데 있어 Python 내장 구현보다 덜 엄격합니다.
    
    ///
    
    {* ../../docs_src/custom_response/tutorial001.py hl[2,7] *}
    
    /// tip | 팁
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Feb 15 11:21:20 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  3. requirements-tests.txt

    sqlmodel==0.0.27
    flask >=1.1.2,<4.0.0
    strawberry-graphql >=0.200.0,< 1.0.0
    anyio[trio] >=3.2.1,<5.0.0
    PyJWT==2.9.0
    pyyaml >=5.3.1,<7.0.0
    pwdlib[argon2] >=0.2.1
    inline-snapshot>=0.21.1
    pytest-codspeed==4.2.0
    # types
    types-ujson ==5.10.0.20240515
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 394 bytes
    - Viewed (0)
  4. docs/en/docs/advanced/custom-response.md

    ///
    
    ### `UJSONResponse` { #ujsonresponse }
    
    An alternative JSON response using <a href="https://github.com/ultrajson/ultrajson" class="external-link" target="_blank">`ujson`</a>.
    
    /// info
    
    This requires installing `ujson` for example with `pip install ujson`.
    
    ///
    
    /// warning
    
    `ujson` is less careful than Python's built-in implementation in how it handles some edge-cases.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/custom-response.md

    ///
    
    ### `UJSONResponse` { #ujsonresponse }
    
    Eine alternative JSON-Response mit <a href="https://github.com/ultrajson/ultrajson" class="external-link" target="_blank">`ujson`</a>.
    
    /// info | Info
    
    Dazu muss `ujson` installiert werden, z. B. mit `pip install ujson`.
    
    ///
    
    /// warning | Achtung
    
    `ujson` ist bei der Behandlung einiger Sonderfälle weniger sorgfältig als Pythons eingebaute Implementierung.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. docs/es/docs/advanced/custom-response.md

    ///
    
    ### `UJSONResponse` { #ujsonresponse }
    
    Un response JSON alternativo usando <a href="https://github.com/ultrajson/ultrajson" class="external-link" target="_blank">`ujson`</a>.
    
    /// info | Información
    
    Esto requiere instalar `ujson`, por ejemplo, con `pip install ujson`.
    
    ///
    
    /// warning | Advertencia
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. docs/ru/docs/advanced/custom-response.md

    ///
    
    ### `UJSONResponse` { #ujsonresponse }
    
    Альтернативная реализация JSON-ответа с использованием <a href="https://github.com/ultrajson/ultrajson" class="external-link" target="_blank">`ujson`</a>.
    
    /// info | Информация
    
    Требуется установка `ujson`, например командой `pip install ujson`.
    
    ///
    
    /// warning | Предупреждение
    
    `ujson` менее аккуратен, чем встроенная реализация Python, в обработке некоторых крайних случаев.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/custom-response.md

    ### `UJSONResponse` { #ujsonresponse }
    
    Uma alternativa de resposta JSON utilizando a biblioteca <a href="https://github.com/ultrajson/ultrajson" class="external-link" target="_blank">`ujson`</a>.
    
    /// info | Informação
    
    Essa resposta requer a instalação do pacote `ujson`, com o comando `pip install ujson`, por exemplo.
    
    ///
    
    /// warning | Atenção
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/custom-response.md

    ### `JSONResponse`
    
    接受数据并返回一个 `application/json` 编码的响应。
    
    如上文所述,这是 **FastAPI** 中使用的默认响应。
    
    ### `ORJSONResponse`
    
    如上文所述,`ORJSONResponse` 是一个使用 <a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a> 的快速的可选 JSON 响应。
    
    
    ### `UJSONResponse`
    
    `UJSONResponse` 是一个使用 <a href="https://github.com/ultrajson/ultrajson" class="external-link" target="_blank">`ujson`</a> 的可选 JSON 响应。
    
    /// warning | 警告
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. docs/ja/docs/advanced/custom-response.md

    ### `JSONResponse`
    
    データを受け取り、 `application/json` としてエンコードされたレスポンスを返します。
    
    上で読んだように、**FastAPI** のデフォルトのレスポンスとして利用されます。
    
    ### `ORJSONResponse`
    
    上で読んだように、<a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a>を使った、高速な代替のJSONレスポンスです。
    
    ### `UJSONResponse`
    
    <a href="https://github.com/ultrajson/ultrajson" class="external-link" target="_blank">`ujson`</a>を使った、代替のJSONレスポンスです。
    
    /// warning | 注意
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top