- Sort Score
- Num 10 results
- Language All
Results 881 - 890 of 1,775 for gson (0.02 seconds)
-
internal/s3select/select_test.go
<ExpressionType>SQL</ExpressionType> <InputSerialization> <CompressionType>NONE</CompressionType> <JSON> <Type>DOCUMENT</Type> </JSON> </InputSerialization> <OutputSerialization> <JSON> </JSON> </OutputSerialization> <RequestProgress> <Enabled>FALSE</Enabled> </RequestProgress> </SelectObjectContentRequest>`),
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 76.1K bytes - Click Count (0) -
tests/test_default_response_class_router.py
) client = TestClient(app) json_type = "application/json" text_type = "text/plain; charset=utf-8" html_type = "text/html; charset=utf-8" override_type = "application/x-override" def test_app(): with client: response = client.get("/") assert response.json() == {"msg": "Hello World"} assert response.headers["content-type"] == json_type
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Mar 01 20:49:20 GMT 2020 - 5K bytes - Click Count (0) -
docs/en/docs/how-to/separate-openapi-schemas.md
<div class="screenshot"> <img src="/img/tutorial/separate-openapi-schemas/image02.png"> </div> This means that it will **always have a value**, it's just that sometimes the value could be `None` (or `null` in JSON).
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 4.5K bytes - Click Count (0) -
logger/sql_test.go
package logger_test import ( "database/sql/driver" "encoding/json" "fmt" "regexp" "strings" "testing" "github.com/jinzhu/now" "gorm.io/gorm/logger" ) type JSON json.RawMessage func (j JSON) Value() (driver.Value, error) { if len(j) == 0 { return nil, nil } return json.RawMessage(j).MarshalJSON() } type ExampleStruct struct { Name string Val string }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Mar 21 08:00:02 GMT 2024 - 8.4K bytes - Click Count (0) -
cmd/config-migrate.go
newCfg, err := readServerConfig(GlobalContext, objAPI, data) if err == nil { return newCfg, nil } // Read older `.minio.sys/config/config.json`, if not // possible just fail. if err = json.Unmarshal(data, cfg); err != nil { // Unable to parse old JSON simply re-initialize a new one. return newServerCfg() } } if !globalCredViaEnv && cfg.Credential.IsValid() {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.4K bytes - Click Count (0) -
docs/en/docs/tutorial/body-nested-models.md
## Attributes with lists of submodels { #attributes-with-lists-of-submodels } You can also use Pydantic models as subtypes of `list`, `set`, etc.: {* ../../docs_src/body_nested_models/tutorial006_py310.py hl[18] *} This will expect (convert, validate, document, etc.) a JSON body like: ```JSON hl_lines="11" { "name": "Foo",Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.7K bytes - Click Count (0) -
docs/ru/docs/tutorial/body-nested-models.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 11.5K bytes - Click Count (0) -
tests/test_tutorial/test_custom_request_and_route/test_tutorial003.py
return client def test_get(client: TestClient): response = client.get("/") assert response.json() == {"message": "Not timed"} assert "X-Response-Time" not in response.headers def test_get_timed(client: TestClient): response = client.get("/timed") assert response.json() == {"message": "It's the time of my life"} assert "X-Response-Time" in response.headers
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 894 bytes - Click Count (0) -
cmd/xl-storage-format_test.go
// The result will be compared with the result obtained from json.unMarshal of the byte data. func TestGetXLMetaV1Jsoniter1(t *testing.T) { xlMetaJSON := getXLMetaBytes(1) var unMarshalXLMeta xlMetaV1Object if err := json.Unmarshal(xlMetaJSON, &unMarshalXLMeta); err != nil { t.Errorf("Unmarshalling failed: %v", err) } var jsoniterXLMeta xlMetaV1Object json := jsoniter.ConfigCompatibleWithStandardLibrary
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 17.5K bytes - Click Count (0) -
tests/test_tutorial/test_dependencies/test_tutorial008c.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_fastapi_error(mod: ModuleType): client = TestClient(mod.app)Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.4K bytes - Click Count (0)