- Sort Score
- Result 10 results
- Languages All
Results 991 - 1000 of 1,670 for ujson (0.02 sec)
-
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) -
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) -
docs/ja/docs/tutorial/request-forms-and-files.md
ファイルとフォームフィールドがフォームデータとしてアップロードされ、ファイルとフォームフィールドを受け取ります。 また、いくつかのファイルを`bytes`として、いくつかのファイルを`UploadFile`として宣言することができます。 /// warning | 注意 *path operation*で複数の`File`と`Form`パラメータを宣言することができますが、JSONとして受け取ることを期待している`Body`フィールドを宣言することはできません。なぜなら、リクエストのボディは`application/json`の代わりに`multipart/form-data`を使ってエンコードされているからです。 これは **FastAPI** の制限ではなく、HTTPプロトコルの一部です。 /// ## まとめ
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 1.7K bytes - Viewed (0) -
internal/s3select/errors.go
func errObjectSerializationConflict(err error) *s3Error { return &s3Error{ code: "ObjectSerializationConflict", message: "InputSerialization specifies more than one format (CSV, JSON, or Parquet), or OutputSerialization specifies more than one format (CSV or JSON). InputSerialization and OutputSerialization can only specify one format each.", statusCode: 400, cause: err, } } func errInvalidExpressionType(err error) *s3Error {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Mar 14 16:48:36 UTC 2022 - 4.3K bytes - Viewed (0) -
docs/en/docs/how-to/conditional-openapi.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/JsonUtil.java
* governing permissions and limitations under the License. */ package org.codelibs.core.text; /** * JSON utilities. * * @author shinsuke * */ public class JsonUtil { /** * Defualt constructor. */ protected JsonUtil() { } /** * Escapes a value as Json string. * * @param value input * @return escaped string. */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 1.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostPath.kt
import okio.Path.Companion.toPath import okio.buffer import okio.fakefilesystem.FakeFileSystem class PostPath { private val client = OkHttpClient() private val fileSystem = FakeFileSystem() val path = "test.json".toPath() fun run() { fileSystem.write(path) { writeUtf8("{}") } val request = Request .Builder() .url("https://httpbin.org/anything")Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0) -
docs/zh/docs/features.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 8.9K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
* Add a **JSON Schema** for the response, in the OpenAPI *path operation*. * This will be used by the **automatic docs**. * It will also be used by automatic client code generation tools. But most importantly:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 15.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/response-model.md
* Adicionar um **JSON Schema** para a resposta, na *operação de rota* do OpenAPI. * Isso será usado pela **documentação automática**. * Também será usado por ferramentas de geração automática de código do cliente. Mas o mais importante:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 17.3K bytes - Viewed (0)