Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1191 - 1200 of 1,707 for kjson (0.05 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    		{
    			name:        "errors if unable to unmarshal bytes",
    			inputFile:   "",
    			wantConfigs: 0,
    			wantErr:     true,
    		},
    		{
    			name:        "loads valid ztunnel config_dump",
    			inputFile:   "testdata/dump.json",
    			wantConfigs: 27,
    			wantErr:     false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			cw := &ConfigWriter{}
    			cd, _ := os.ReadFile(tt.inputFile)
    			err := cw.Prime(cd)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. docs_src/custom_response/tutorial009c.py

    from typing import Any
    
    import orjson
    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    class CustomORJSONResponse(Response):
        media_type = "application/json"
    
        def render(self, content: Any) -> bytes:
            assert orjson is not None, "orjson must be installed"
            return orjson.dumps(content, option=orjson.OPT_INDENT_2)
    
    
    @app.get("/", response_class=CustomORJSONResponse)
    async def main():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 01 09:32:30 UTC 2022
    - 451 bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/MediaType.java

       * geospatial data interchange format based on JSON.
       *
       * @since 28.0
       */
      public static final MediaType GEO_JSON = createConstant(APPLICATION_TYPE, "geo+json");
    
      public static final MediaType GZIP = createConstant(APPLICATION_TYPE, "x-gzip");
    
      /**
       * <a href="https://tools.ietf.org/html/draft-kelly-json-hal-08#section-3">JSON Hypertext
       * Application Language (HAL) documents</a>.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  4. docs/bucket/replication/delete-replication.sh

    sleep 1s
    
    echo "=== myminio1"
    ./mc ls --versions myminio1/testbucket/dir/file
    
    echo "=== myminio2"
    ./mc ls --versions myminio2/testbucket/dir/file
    
    versionId="$(./mc ls --json --versions myminio1/testbucket/dir/ | tail -n1 | jq -r .versionId)"
    
    export AWS_ACCESS_KEY_ID=minioadmin
    export AWS_SECRET_ACCESS_KEY=minioadmin
    export AWS_REGION=us-east-1
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. tests/test_orjson_response_class.py

        return {key: "Hello World", 1: 1}
    
    
    client = TestClient(app)
    
    
    def test_orjson_non_str_keys():
        with client:
            response = client.get("/orjson_non_str_keys")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 02 10:17:31 UTC 2022
    - 562 bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/response-model.md

    * Добавьте **JSON схему** для ответа внутри *операции пути* OpenAPI.
      * Она будет использована для **автоматически генерируемой документации**.
      * А также - для автоматической кодогенерации пользователями.
    
    Но самое важное:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  7. .teamcity/src/test/kotlin/BuildScanTagUtilsTest.kt

    import java.io.File
    
    class BuildScanTagUtilsTest {
        init {
            DslContext.initForTest()
        }
    
        private val subprojectProvider = JsonBasedGradleSubprojectProvider(File("../.teamcity/subprojects.json"))
        private val model = CIBuildModel(
            projectId = "Check",
            branch = VersionedSettingsBranch.fromDslContext(),
            buildScanTags = listOf("Check"),
            subprojects = subprojectProvider
        )
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. fastapi/applications.py

                        show it as the response (JSON Schema).
                    * Serialization: you could return an arbitrary object and the
                        `response_model` would be used to serialize that object into the
                        corresponding JSON.
                    * Filtering: the JSON sent to the client will only contain the data
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/metadata.md

    ## OpenAPI URL
    
    By default, the OpenAPI schema is served at `/openapi.json`.
    
    But you can configure it with the parameter `openapi_url`.
    
    For example, to set it to be served at `/api/v1/openapi.json`:
    
    ```Python hl_lines="3"
    {!../../docs_src/metadata/tutorial002.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. docs/fr/docs/project-generation.md

        * <a href="https://fastapi.tiangolo.com/features/" class="external-link" target="_blank">**Et bien d'autres fonctionnalités**</a> comme la validation automatique, la sérialisation, l'authentification...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top