Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,734 for ndjson (0.16 sec)

  1. docs/ja/docs/advanced/custom-response.md

    ### `JSONResponse`
    
    データを受け取り、 `application/json` としてエンコードされたレスポンスを返します。
    
    上で読んだように、**FastAPI** のデフォルトのレスポンスとして利用されます。
    
    ### `ORJSONResponse`
    
    上で読んだように、<a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a>を使った、高速な代替のJSONレスポンスです。
    
    ### `UJSONResponse`
    
    <a href="https://github.com/ultrajson/ultrajson" class="external-link" target="_blank">`ujson`</a>を使った、代替のJSONレスポンスです。
    
    !!! warning "注意"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jul 19 19:14:58 GMT 2021
    - 10.7K bytes
    - Viewed (0)
  2. manifests/charts/gateway/values.schema.json

    {
      "$schema": "http://json-schema.org/schema#",
      "type": "object",
      "additionalProperties": false,
      "$defs": {
        "values": {
          "type": "object",
          "properties": {
            "global": {
              "type": "object"
            },
            "affinity": {
              "type": "object"
            },
            "securityContext": {
              "type": [
                "object",
                "null"
              ]
            },
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 18 16:33:33 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  3. tests/test_default_response_class.py

    )
    
    
    client = TestClient(app)
    
    orjson_type = "application/x-orjson"
    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"] == orjson_type
    
    
    def test_app_override():
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 01 20:49:20 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  4. cmd/peer-rest-server.go

    	getNetInfoRPC                  = grid.NewSingleHandler[*grid.MSS, *grid.JSON[madmin.NetInfo]](grid.HandlerGetNetInfo, grid.NewMSS, madminNetInfo.NewJSON)
    	getOSInfoRPC                   = grid.NewSingleHandler[*grid.MSS, *grid.JSON[madmin.OSInfo]](grid.HandlerGetOSInfo, grid.NewMSS, madminOSInfo.NewJSON)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  5. 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():
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Sep 01 09:32:30 GMT 2022
    - 451 bytes
    - Viewed (0)
  6. .devcontainer/devcontainer.json

    Yuri Schimke <******@****.***> 1713104645 +0100
    Json
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Apr 14 14:24:05 GMT 2024
    - 429 bytes
    - Viewed (0)
  7. docs/extensions/s3zip/examples/aws-js/package.json

    Anis Elleuch <******@****.***> 1623338223 +0100
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jun 10 15:17:03 GMT 2021
    - 139 bytes
    - Viewed (0)
  8. internal/s3select/json/testdata/6.json

    Harshavardhana <******@****.***> 1622584780 -0700
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 79 bytes
    - Viewed (0)
  9. internal/s3select/json/testdata/8.json

    Harshavardhana <******@****.***> 1622584780 -0700
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 11 bytes
    - Viewed (0)
  10. internal/s3select/json/testdata/12.json

    Harshavardhana <******@****.***> 1622584780 -0700
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 29 bytes
    - Viewed (0)
Back to top