Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 491 - 500 of 1,923 for json$ (0.03 seconds)

  1. docs/zh/docs/tutorial/server-sent-events.md

    从 `fastapi.sse` 导入 `ServerSentEvent`:
    
    {* ../../docs_src/server_sent_events/tutorial002_py310.py hl[4,26] *}
    
    `data` 字段始终会被编码为 JSON。你可以传入任何可被序列化为 JSON 的值,包括 Pydantic 模型。
    
    ## 原始数据 { #raw-data }
    
    如果你需要发送**不**进行 JSON 编码的数据,请使用 `raw_data` 而不是 `data`。
    
    这对于发送预格式化文本、日志行或特殊的 <dfn title="用于指示特殊条件或状态的值">"哨兵"</dfn> 值(例如 `[DONE]`)很有用。
    
    {* ../../docs_src/server_sent_events/tutorial003_py310.py hl[17] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java

        /**
         * Retrieves synonym dictionary settings with pagination support.
         *
         * @param dictId the dictionary ID
         * @param body the search body containing pagination and filter parameters
         * @return JSON response containing list of synonym dictionary items
         */
        // GET /api/admin/dict/synonym/settings/{dictId}
        @Execute
        public JsonResponse<ApiResult> get$settings(final String dictId, final SearchBody body) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. fastapi/params.py

            decimal_places: int | None = _Unset,
            examples: list[Any] | None = None,
            example: Annotated[
                Any | None,
                deprecated(
                    "Deprecated in OpenAPI 3.1.0 that now uses JSON Schema 2020-12, "
                    "although still supported. Use examples instead."
                ),
            ] = _Unset,
            openapi_examples: dict[str, Example] | None = None,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  4. docs/zh/docs/advanced/openapi-callbacks.md

    ```
    
    使用如下 JSON 请求体:
    
    ```JSON
    {
        "id": "2expen51ve",
        "customer": "Mr. Richie Rich",
        "total": "9999"
    }
    ```
    
    然后,您的 API 就会处理发票,并在某个点之后,发送回调请求至 `callback_url`(外部 API):
    
    ```
    https://www.external.org/events/invoices/2expen51ve
    ```
    
    JSON 请求体包含如下内容:
    
    ```JSON
    {
        "description": "Payment celebration",
        "paid": true
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  5. scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_number_gt.md

    <span style="color: green;">[INFO]</span> Start watching changes
    <span style="color: green;">[INFO]</span> Start detecting changes
    ```
    
    And even more text
    
    ```json
    {
        // This is a sample JSON code block
        "greeting": "Hello, world!" // Greeting
    }
    ```
    
    Диаграма Mermaid
    
    ```mermaid
    flowchart LR
        stone(philosophers-stone) -->|requires| harry-1[harry v1]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 926 bytes
    - Click Count (0)
  6. 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 Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  7. cmd/iam-etcd-store_test.go

    		path, prefix, suffix string
    		expected             string
    	}{
    		{"config/iam/groups/foo.json", "config/iam/groups/", ".json", "foo"},
    		{"config/iam/groups/./foo.json", "config/iam/groups/", ".json", "foo"},
    		{"config/iam/groups/foo/config.json", "config/iam/groups/", "/config.json", "foo"},
    		{"config/iam/groups/foo/config.json", "config/iam/groups/", "config.json", "foo"},
    	}
    	for i, test := range specs {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 1.5K bytes
    - Click Count (0)
  8. docs/iam/identity-management-plugin.md

    ### Response
    
    If the token is valid and access is approved, the plugin must return a `200` (OK) HTTP status code.
    
    A `200 OK` Response should have `application/json` content-type and body with the following structure:
    
    ```json
    {
        "user": <string>,
        "maxValiditySeconds": <integer>,
        "claims": <key-value-pairs>
    }
    ```
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 4.2K bytes
    - Click Count (0)
  9. src/main/config/openapi/openapi-user.yaml

          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        Unauthorized:
          description: Unauthorized request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        NotFound:
          description: Page not found
          content:
            application/json:
              schema:
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu May 09 06:31:27 GMT 2024
    - 21.6K bytes
    - Click Count (0)
  10. internal/config/batch/batch.go

    )
    
    var configMu sync.RWMutex
    
    // Config represents the batch job settings.
    type Config struct {
    	ReplicationWorkersWait time.Duration `json:"replicationWorkersWait"`
    	KeyRotationWorkersWait time.Duration `json:"keyRotationWorkersWait"`
    	ExpirationWorkersWait  time.Duration `json:"expirationWorkersWait"`
    }
    
    // ExpirationWait returns the duration for which a batch expiration worker
    // would wait before working on next object.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 4.7K bytes
    - Click Count (0)
Back to Top