Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,611 for json (0.02 seconds)

  1. docs/ko/docs/tutorial/stream-json-lines.md

        Note over App: Keeps producing...
        Note over Client: Keeps consuming...
    ```
    
    데이터를 계속 보내는 무한 스트림일 수도 있습니다.
    
    ## JSON Lines { #json-lines }
    
    이런 경우에는 한 줄에 하나의 JSON 객체를 보내는 형식인 "**JSON Lines**"를 사용하는 것이 일반적입니다.
    
    응답의 콘텐츠 타입은 `application/json` 대신 `application/jsonl`이고, 본문은 다음과 같습니다:
    
    ```json
    {"name": "Plumbus", "description": "A multi-purpose household device."}
    {"name": "Portal Gun", "description": "A portal opening device."}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:56:39 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/json-base64-bytes.md

    # JSON with Bytes as Base64 { #json-with-bytes-as-base64 }
    
    If your app needs to receive and send JSON data, but you need to include binary data in it, you can encode it as base64.
    
    ## Base64 vs Files { #base64-vs-files }
    
    Consider first if you can use [Request Files](../tutorial/request-files.md) for uploading binary data and [Custom Response - FileResponse](./custom-response.md#fileresponse--fileresponse-) for sending binary data, instead of encoding it in JSON.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/stream-json-lines.md

        Note over App: Keeps producing...
        Note over Client: Keeps consuming...
    ```
    
    它甚至可以是一个无限流,你可以一直持续发送数据。
    
    ## JSON Lines { #json-lines }
    
    在这些场景中,常见的做法是发送 “JSON Lines”,这是一种每行发送一个 JSON 对象的格式。
    
    响应的内容类型是 `application/jsonl`(而不是 `application/json`),响应体类似这样:
    
    ```json
    {"name": "Plumbus", "description": "A multi-purpose household device."}
    {"name": "Portal Gun", "description": "A portal opening device."}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  4. docs/zh/docs/advanced/json-base64-bytes.md

    # 在 JSON 中使用 Base64 表示字节 { #json-with-bytes-as-base64 }
    
    如果你的应用需要接收和发送 JSON 数据,但其中需要包含二进制数据,可以将其编码为 base64。
    
    ## Base64 与文件 { #base64-vs-files }
    
    请先考虑是否可以使用 [请求文件](../tutorial/request-files.md) 来上传二进制数据,并使用 [自定义响应 - FileResponse](./custom-response.md#fileresponse--fileresponse-) 来发送二进制数据,而不是把它编码进 JSONJSON 只能包含 UTF-8 编码的字符串,因此无法直接包含原始字节。
    
    Base64 可以把二进制数据编码为字符串,但为此会使用比原始二进制更多的字符,因此通常比直接使用文件的效率更低。
    
    仅当你确实需要在 JSON 中包含二进制数据且无法使用文件时,才使用 base64。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/tutorial/stream-json-lines.md

        Note over App: Keeps producing...
        Note over Client: Keeps consuming...
    ```
    
    它甚至可以是無限串流,你可以一直持續傳送資料。
    
    ## JSON Lines { #json-lines }
    
    在這些情況下,常見做法是傳送「**JSON Lines**」,這是一種每一行各包含一個 JSON 物件的格式。
    
    回應的 content type 會是 `application/jsonl`(而不是 `application/json`),而本體內容會像這樣:
    
    ```json
    {"name": "Plumbus", "description": "A multi-purpose household device."}
    {"name": "Portal Gun", "description": "A portal opening device."}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/stream-json-lines.md

        Note over App: Keeps producing...
        Note over Client: Keeps consuming...
    ```
    
    データを送り続ける無限ストリームにすることもできます。
    
    ## JSON Lines { #json-lines }
    
    このような場合、1 行に 1 つの JSON オブジェクトを送る「**JSON Lines**」形式を使うのが一般的です。
    
    レスポンスの content type は `application/jsonl`(`application/json` の代わり)となり、ボディは次のようになります:
    
    ```json
    {"name": "Plumbus", "description": "A multi-purpose household device."}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/stream-json-lines.md

    ```
    
    It could even be an infinite stream, where you keep sending data.
    
    ## JSON Lines { #json-lines }
    
    In these cases, it's common to send "**JSON Lines**", which is a format where you send one JSON object per line.
    
    A response would have a content type of `application/jsonl` (instead of `application/json`) and the body would be something like:
    
    ```json
    {"name": "Plumbus", "description": "A multi-purpose household device."}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/advanced/json-base64-bytes.md

    # 使用 Base64 表示位元組的 JSON { #json-with-bytes-as-base64 }
    
    如果你的應用需要收發 JSON 資料,但其中需要包含二進位資料,你可以將它以 base64 編碼。
    
    ## Base64 與檔案 { #base64-vs-files }
    
    請先考慮是否能用 [請求檔案](../tutorial/request-files.md) 來上傳二進位資料,並用 [自訂回應 - FileResponse](./custom-response.md#fileresponse--fileresponse-) 來傳送二進位資料,而不是把它們編碼進 JSONJSON 只能包含 UTF-8 編碼的字串,因此無法直接包含原始位元組。
    
    Base64 可以把二進位資料編碼成字串,但為此會使用比原始二進位資料更多的字元,因此通常比直接使用檔案來得沒那麼有效率。
    
    只有在確實必須把二進位資料包含在 JSON 裡,且無法改用檔案時,才使用 base64。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  9. docs/ja/docs/advanced/json-base64-bytes.md

    # Base64 にしたバイトを含む JSON { #json-with-bytes-as-base64 }
    
    アプリで JSON データの受信・送信が必要だが、その中にバイナリデータを含める必要がある場合は、base64 にエンコードできます。
    
    ## Base64 とファイル { #base64-vs-files }
    
    バイナリデータのアップロードにはまず、JSON にエンコードする代わりに [Request Files](../tutorial/request-files.md) を、バイナリデータの送信には [カスタムレスポンス - FileResponse](./custom-response.md#fileresponse--fileresponse-) を使えるか検討してください。
    
    JSON は UTF-8 でエンコードされた文字列のみを含められるため、生のバイト列は含められません。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  10. .github/renovate.json

    {
      "$schema": "https://docs.renovatebot.com/renovate-schema.json",
      "extends": [
        "config:recommended",
        "group:monorepos",
        "group:recommended",
        ":dependencyDashboard"
      ],
      "semanticCommits": "disabled",
      "labels": [
        "renovate"
      ],
      "ignoreDeps": [
        "com.squareup.okhttp3:okhttp",
        "com.squareup.okhttp3:okhttp-tls",
        "com.squareup.okhttp3:mockwebserver"
      ],
      "packageRules": [
        {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 15 12:02:18 GMT 2026
    - 1.3K bytes
    - Click Count (0)
Back to Top