- Sort Score
- Num 10 results
- Language All
Results 381 - 390 of 1,922 for djson (0.03 seconds)
-
docs/ru/docs/tutorial/encoder.md
{* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *} В данном примере она преобразует Pydantic-модель в `dict`, а `datetime` - в `str`. Результатом её вызова является объект, который может быть закодирован с помощью функции из стандартной библиотеки Python – [`json.dumps()`](https://docs.python.org/3/library/json.html#json.dumps).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 2.6K bytes - Click Count (0) -
internal/s3select/json/record.go
return r.SelectFormat, r.KVS } // WriteJSON - encodes to JSON data. func (r *Record) WriteJSON(writer io.Writer) error { return json.NewEncoder(writer).Encode(r.KVS) } // Replace the underlying buffer of json data. func (r *Record) Replace(k any) error { v, ok := k.(jstream.KVS) if !ok { return fmt.Errorf("cannot replace internal data in json record with type %T", k) } r.KVS = v return nil }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.2K bytes - Click Count (0) -
docs/zh/docs/tutorial/schema-extra-example.md
/// ### JSON Schema 的 `examples` 字段 { #json-schemas-examples-field } 后来,JSON Schema 在新版本的规范中添加了 [`examples`](https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.5) 字段。 随后新的 OpenAPI 3.1.0 基于最新版本(JSON Schema 2020-12),其中包含了这个新的 `examples` 字段。 现在,这个新的 `examples` 字段优先于旧的单个(且自定义的)`example` 字段,后者已被弃用。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.5K bytes - Click Count (0) -
docs/ko/docs/advanced/additional-responses.md
`model` 키는 OpenAPI의 일부가 아닙니다. **FastAPI**는 여기에서 Pydantic 모델을 가져와 JSON Schema를 생성하고 올바른 위치에 넣습니다. 올바른 위치는 다음과 같습니다: * 값으로 또 다른 JSON 객체(`dict`)를 가지는 `content` 키 안에: * 미디어 타입(예: `application/json`)을 키로 가지며, 값으로 또 다른 JSON 객체를 포함하고: * `schema` 키가 있고, 그 값이 모델에서 생성된 JSON Schema입니다. 이것이 올바른 위치입니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 9.6K bytes - Click Count (0) -
docs/zh/docs/advanced/additional-responses.md
* 一个媒体类型作为键,例如 `application/json`,它的值是另一个 JSON 对象,该对象包含: * 一个键 `schema`,它的值是来自该模型的 JSON Schema,这里就是正确的位置。 * **FastAPI** 会在这里添加一个引用,指向你 OpenAPI 中另一个位置的全局 JSON Schemas,而不是直接内联。这样,其他应用和客户端可以直接使用这些 JSON Schemas,提供更好的代码生成工具等。 /// 为该*路径操作*在 OpenAPI 中生成的响应将是: ```JSON hl_lines="3-12" { "responses": { "404": { "description": "Additional Response", "content": {Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.7K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/RestResourcesPluginFuncTest.groovy
restApi { include 'foo', 'xpackfoo' } } """ String apiFoo = "foo.json" String apiXpackFoo = "xpackfoo.json" String apiBar = "bar.json" String apiXpackBar = "xpackbar.json" setupRestResources([apiFoo, apiBar, apiXpackFoo, apiXpackBar]) addRestTestsToProject(["10_basic.yml"]) when:Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jul 20 21:05:16 GMT 2021 - 7K bytes - Click Count (0) -
internal/logger/target/http/http.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.6K bytes - Click Count (0) -
internal/s3select/jstream/decoder.go
ValueType ValueType } // KV contains a key and value pair parsed from a decoded object type KV struct { Key string `json:"key"` Value any `json:"value"` } // KVS - represents key values in an JSON object type KVS []KV // MarshalJSON - implements converting a KVS datastructure into a JSON // object with multiple keys and values. func (kvs KVS) MarshalJSON() ([]byte, error) { b := new(bytes.Buffer)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.4K bytes - Click Count (0) -
docs/distributed/samples/myminio-iam-info-openid.zip
tement":[{"Effect":"Allow","Action":["s3:*"],"Resource":["arn:aws:s3:::*"]}]},writeonly":{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Action":["s3:PutObject"],"Resource":["arn:aws:s3:::*"]}]}} iam-assets/users.json {} iam-assets/groups.json {} iam-assets/svcaccts.json {"dillon-service-2":{"parent":"oCnAoSQFtdVQtKwrB73j","accessKey":"dillon-service-2","secretKey":"dillon-service-2","groups":null,"claims":{"accessKey":"dillon-service-2","at_hash":"LL4jvrkBRNQhOKiC83RL","aud":"minio-clie...Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Sep 17 16:45:46 GMT 2024 - 2K bytes - Click Count (0) -
tests/test_request_params/test_body/test_list.py
} @pytest.mark.parametrize("json", [None, {}]) @pytest.mark.parametrize( "path", ["/required-list-str", "/model-required-list-str"], ) def test_required_list_str_missing(path: str, json: dict | None): client = TestClient(app) response = client.post(path, json=json) assert response.status_code == 422 assert response.json() == { "detail": [ {
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 11.9K bytes - Click Count (0)