Search Options

Results per page
Sort
Preferred Languages
Advance

Results 901 - 910 of 1,387 for orjson (0.04 sec)

  1. docs/de/docs/tutorial/response-model.md

    * In der OpenAPI *Pfadoperation* ein **JSON-Schema** für die Response hinzuzufügen.
        * Dieses wird von der **automatischen Dokumentation** verwendet.
        * Es wird auch von automatisch Client-Code-generierenden Tools verwendet.
    
    Aber am wichtigsten:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. docs/de/docs/alternatives.md

    Es kann nicht sehr gut mit verschachtelten Modellen umgehen. Wenn es sich beim JSON-Body im Request also um ein JSON-Objekt mit inneren Feldern handelt, die wiederum verschachtelte JSON-Objekte sind, kann er nicht richtig dokumentiert und validiert werden.
    
    /// check | Inspirierte **FastAPI**
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CurlHelper.java

            return request(Method.GET, path).header("Content-Type", "application/json");
        }
    
        /**
         * Creates a POST request for the specified path.
         * @param path the request path
         * @return the configured CurlRequest
         */
        public CurlRequest post(final String path) {
            return request(Method.POST, path).header("Content-Type", "application/json");
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. docs/ko/docs/advanced/response-directly.md

    # 응답을 직접 반환하기
    
    **FastAPI**에서 *경로 작업(path operation)*을 생성할 때, 일반적으로 `dict`, `list`, Pydantic 모델, 데이터베이스 모델 등의 데이터를 반환할 수 있습니다.
    
    기본적으로 **FastAPI**는 [JSON 호환 가능 인코더](../tutorial/encoder.md){.internal-link target=_blank}에 설명된 `jsonable_encoder`를 사용해 해당 반환 값을 자동으로 `JSON`으로 변환합니다.
    
    그런 다음, JSON 호환 데이터(예: `dict`)를 `JSONResponse`에 넣어 사용자의 응답을 전송하는 방식으로 처리됩니다.
    
    그러나 *경로 작업*에서 `JSONResponse`를 직접 반환할 수도 있습니다.
    
    예를 들어, 사용자 정의 헤더나 쿠키를 반환해야 하는 경우에 유용할 수 있습니다.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/response-directly.md

    # 直接返回响应
    
    当你创建一个 **FastAPI** *路径操作* 时,你可以正常返回以下任意一种数据:`dict`,`list`,Pydantic 模型,数据库模型等等。
    
    **FastAPI** 默认会使用 `jsonable_encoder` 将这些类型的返回值转换成 JSON 格式,`jsonable_encoder` 在 [JSON 兼容编码器](../tutorial/encoder.md){.internal-link target=_blank} 中有阐述。
    
    然后,**FastAPI** 会在后台将这些兼容 JSON 的数据(比如字典)放到一个 `JSONResponse` 中,该 `JSONResponse` 会用来发送响应给客户端。
    
    但是你可以在你的 *路径操作* 中直接返回一个 `JSONResponse`。
    
    直接返回响应可能会有用处,比如返回自定义的响应头和 cookies。
    
    ## 返回 `Response`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. internal/config/heal/heal.go

    type Config struct {
    	// Bitrot will perform bitrot scan on local disk when checking objects.
    	Bitrot string `json:"bitrotscan"`
    
    	// maximum sleep duration between objects to slow down heal operation.
    	Sleep   time.Duration `json:"sleep"`
    	IOCount int           `json:"iocount"`
    
    	DriveWorkers int `json:"drive_workers"`
    
    	// Cached value from Bitrot field
    	cache struct {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Nov 04 19:06:02 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/plugin/DeleteBody.java

     * Extends the standard plugin DeleteForm to provide JSON request body functionality
     * for REST API operations.
     */
    public class DeleteBody extends DeleteForm {
    
        /**
         * Creates a new instance of DeleteBody.
         * This constructor initializes the request body for plugin deletion API operations,
         * extending the standard plugin DeleteForm with JSON request body functionality.
         */
        public DeleteBody() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_dependencies/test_tutorial008d.py

        assert response.status_code == 404, response.text
        assert response.json() == {"detail": "Item not found, there's only a plumbus here"}
    
    
    def test_get(mod: ModuleType):
        client = TestClient(mod.app)
        response = client.get("/items/plumbus")
        assert response.status_code == 200, response.text
        assert response.json() == "plumbus"
    
    
    def test_internal_error(mod: ModuleType):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/testing.md

    Then you just do the same in your tests.
    
    E.g.:
    
    * To pass a *path* or *query* parameter, add it to the URL itself.
    * To pass a JSON body, pass a Python object (e.g. a `dict`) to the parameter `json`.
    * If you need to send *Form Data* instead of JSON, use the `data` parameter instead.
    * To pass *headers*, use a `dict` in the `headers` parameter.
    * For *cookies*, a `dict` in the `cookies` parameter.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. docs/uk/docs/tutorial/testing.md

    Далі Ви просто повторюєте ці ж дії у ваших тестах.
    
    Наприклад:
    
    * Щоб передати *path* або *query* параметр, додайте його безпосередньо до URL.
    * Щоб передати тіло JSON, передайте Python-об'єкт (наприклад, `dict`) у параметр `json`.
    * Якщо потрібно надіслати *Form Data* замість JSON, використовуйте параметр `data`.
    * Щоб передати заголовки *headers*, використовуйте `dict` у параметрі `headers`.
    * Для *cookies* використовуйте `dict` у параметрі `cookies`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top