- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 901 for rjsonp (0.1 sec)
-
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 Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 18 12:36:40 UTC 2023 - 1.7K bytes - Viewed (0) -
docs/em/docs/advanced/custom-response.md
## ๐ ๐จ ๐ ๐ ๐ช โ ๐ ๐ ๐ ๐จ ๐, ๐ โช๏ธโก๏ธ `Response` & โ๏ธ โซ๏ธ. ๐ผ, โก๏ธ ๐ฌ ๐ ๐ ๐ โ๏ธ <a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a>, โ๏ธ โฎ๏ธ ๐ โ ๐ซ โ๏ธ ๐ `ORJSONResponse` ๐. โก๏ธ ๐ฌ ๐ ๐ โซ๏ธ ๐จ ๐ & ๐ ๐ป, ๐ ๐ โ๏ธ Orjson ๐ `orjson.OPT_INDENT_2`. ๐ ๐ช โ `CustomORJSONResponse`. ๐ ๐ ๐ โ๏ธ โ `Response.render(content)` ๐ฉโ๐ฌ ๐ ๐จ ๐ `bytes`:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.7K bytes - Viewed (0) -
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 Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.7K bytes - Viewed (0) -
.github/renovate.json
{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:base", ":dependencyDashboard", "schedule:weekly" ], "labels": ["renovate"], "ignoreDeps": [ "com.squareup.okhttp3:okhttp", "com.squareup.okhttp3:okhttp-tls", "com.squareup.okhttp3:mockwebserver" ], "packageRules": [ { "matchPackagePatterns": [ "biz.*" ], "groupName": "bnd"
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jun 22 16:18:31 UTC 2024 - 956 bytes - Viewed (0) -
docs/ko/docs/advanced/response-cookies.md
```Python hl_lines="1 18" {!../../docs_src/response_directly/tutorial002.py!} ``` /// tip `Response` ๋งค๊ฐ๋ณ์๋ฅผ ์ฌ์ฉํ์ง ์๊ณ ์๋ต์ ์ง์ ๋ฐํํ๋ ๊ฒฝ์ฐ, FastAPI๋ ์ด๋ฅผ ์ง์ ๋ฐํํ๋ค๋ ์ ์ ์ ์ํ์ธ์. ๋ฐ๋ผ์ ๋ฐ์ดํฐ๊ฐ ์ฌ๋ฐ๋ฅธ ์ ํ์ธ์ง ํ์ธํด์ผ ํฉ๋๋ค. ์: `JSONResponse`๋ฅผ ๋ฐํํ๋ ๊ฒฝ์ฐ, JSON๊ณผ ํธํ๋๋์ง ํ์ธํ์ธ์. ๋ํ `response_model`๋ก ๊ฑธ๋ฌ์ ธ์ผ ํ ๋ฐ์ดํฐ๊ฐ ์ ๋ฌ๋์ง ์๋๋ก ํ์ธํ์ธ์. /// ### ์ถ๊ฐ ์ ๋ณด /// note | "๊ธฐ์ ์ ์ธ๋ถ์ฌํญ"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 29 10:32:45 UTC 2024 - 2.4K bytes - Viewed (0) -
tests/test_default_response_class.py
from typing import Any import orjson from fastapi import APIRouter, FastAPI from fastapi.responses import HTMLResponse, JSONResponse, PlainTextResponse from fastapi.testclient import TestClient class ORJSONResponse(JSONResponse): media_type = "application/x-orjson" def render(self, content: Any) -> bytes: return orjson.dumps(content) class OverrideResponse(JSONResponse): media_type = "application/x-override"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Mar 01 20:49:20 UTC 2020 - 5.2K bytes - Viewed (0) -
docs/ko/docs/tutorial/encoder.md
Pydantic ๋ชจ๋ธ๊ณผ ๊ฐ์ ๊ฐ์ฒด๋ฅผ ๋ฐ๊ณ JSON ํธํ ๊ฐ๋ฅํ ๋ฒ์ ์ผ๋ก ๋ฐํํฉ๋๋ค: ```Python hl_lines="5 22" {!../../docs_src/encoder/tutorial001.py!} ``` ์ด ์์๋ Pydantic ๋ชจ๋ธ์ `dict`๋ก, `datetime` ํ์์ `str`๋ก ๋ณํํฉ๋๋ค. ์ด๋ ๊ฒ ํธ์ถํ ๊ฒฐ๊ณผ๋ ํ์ด์ฌ ํ์ค์ธ <a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>๋ก ์ธ์ฝ๋ฉ ํ ์ ์์ต๋๋ค.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/config/es/fess_config_boost_document_rule.json
Shinsuke Sugaya <******@****.***> 1638450896 +0900
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Dec 02 13:14:56 UTC 2021 - 987 bytes - Viewed (0) -
src/main/config/es/fess_config_duplicate_host.json
Shinsuke Sugaya <******@****.***> 1638450896 +0900
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Dec 02 13:14:56 UTC 2021 - 984 bytes - Viewed (0) -
src/main/config/es/fess_log_click_log.json
Shinsuke Sugaya <******@****.***> 1530338150 +0900
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Jun 30 05:55:50 UTC 2018 - 1.1K bytes - Viewed (0)