- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 1,628 for ndjson (0.04 seconds)
-
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) -
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) -
docs/uk/docs/advanced/json-base64-bytes.md
# JSON з байтами як Base64 { #json-with-bytes-as-base64 } Якщо ваш застосунок має отримувати і надсилати дані JSON, але потрібно включати туди двійкові дані, ви можете кодувати їх як base64. ## Base64 проти файлів { #base64-vs-files }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:25:54 GMT 2026 - 3.7K bytes - Click Count (0) -
docs/pt/docs/advanced/json-base64-bytes.md
# JSON com bytes em Base64 { #json-with-bytes-as-base64 } Se sua aplicação precisa receber e enviar dados JSON, mas você precisa incluir dados binários nele, você pode codificá-los em base64. ## Base64 vs Arquivos { #base64-vs-files }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:13 GMT 2026 - 2.6K bytes - Click Count (0) -
docs/tr/docs/tutorial/stream-json-lines.md
``` Hatta, sürekli veri gönderdiğiniz sonsuz bir akış da olabilir. ## JSON Lines { #json-lines } Bu tür durumlarda, her satıra bir JSON nesnesi gönderdiğiniz bir biçim olan “**JSON Lines**” kullanmak yaygındır. Response’un `application/json` yerine `application/jsonl` içerik türü (Content-Type) olur ve body aşağıdaki gibi görünür: ```json {"name": "Plumbus", "description": "A multi-purpose household device."}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:51:35 GMT 2026 - 4.6K bytes - Click Count (0) -
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-) 來傳送二進位資料,而不是把它們編碼進 JSON。 JSON 只能包含 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) -
docs/fr/docs/tutorial/stream-json-lines.md
Cela peut même être un flux infini, où vous continuez à envoyer des données. ## JSON Lines { #json-lines } Dans ces cas, il est courant d'envoyer des « JSON Lines », qui est un format où vous envoyez un objet JSON par ligne. Une réponse aurait un type de contenu `application/jsonl` (au lieu de `application/json`) et le corps ressemblerait à ceci : ```json {"name": "Plumbus", "description": "A multi-purpose household device."}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:33:45 GMT 2026 - 4.9K bytes - Click Count (0) -
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) -
docs/es/docs/advanced/json-base64-bytes.md
# JSON con Bytes como Base64 { #json-with-bytes-as-base64 } Si tu app necesita recibir y enviar datos JSON, pero necesitas incluir datos binarios en él, puedes codificarlos como base64. ## Base64 vs Archivos { #base64-vs-files }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:12:26 GMT 2026 - 2.6K bytes - Click Count (0) -
docs/fr/docs/advanced/json-base64-bytes.md
# JSON avec des octets en Base64 { #json-with-bytes-as-base64 } Si votre application doit recevoir et envoyer des données JSON, mais que vous devez y inclure des données binaires, vous pouvez les encoder en base64. ## Base64 vs fichiers { #base64-vs-files }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:33:45 GMT 2026 - 2.8K bytes - Click Count (0)