Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 1,293 for orjson (0.04 seconds)

  1. docs/fr/docs/tutorial/stream-json-lines.md

    Cela peut même être un flux infini, où vous continuez à envoyer des données.
    
    ## JSON Lines { #json-lines }
    
    Dans ces cas, il est courant d'envoyer des « JSON Lines », qui est un format où vous envoyez un objet JSON par ligne.
    
    Une réponse aurait un type de contenu `application/jsonl` (au lieu de `application/json`) et le corps ressemblerait à ceci :
    
    ```json
    {"name": "Plumbus", "description": "A multi-purpose household device."}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/stream-json-lines.md

        Note over App: Keeps producing...
        Note over Client: Keeps consuming...
    ```
    
    它甚至可以是一个无限流,你可以一直持续发送数据。
    
    ## JSON Lines { #json-lines }
    
    在这些场景中,常见的做法是发送 “JSON Lines”,这是一种每行发送一个 JSON 对象的格式。
    
    响应的内容类型是 `application/jsonl`(而不是 `application/json`),响应体类似这样:
    
    ```json
    {"name": "Plumbus", "description": "A multi-purpose household device."}
    {"name": "Portal Gun", "description": "A portal opening device."}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  3. docs/es/docs/advanced/json-base64-bytes.md

    # JSON con Bytes como Base64 { #json-with-bytes-as-base64 }
    
    Si tu app necesita recibir y enviar datos JSON, pero necesitas incluir datos binarios en él, puedes codificarlos como base64.
    
    ## Base64 vs Archivos { #base64-vs-files }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  4. docs/fr/docs/advanced/json-base64-bytes.md

    # JSON avec des octets en Base64 { #json-with-bytes-as-base64 }
    
    Si votre application doit recevoir et envoyer des données JSON, mais que vous devez y inclure des données binaires, vous pouvez les encoder en base64.
    
    ## Base64 vs fichiers { #base64-vs-files }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  5. docs/zh/docs/advanced/json-base64-bytes.md

    # 在 JSON 中使用 Base64 表示字节 { #json-with-bytes-as-base64 }
    
    如果你的应用需要接收和发送 JSON 数据,但其中需要包含二进制数据,可以将其编码为 base64。
    
    ## Base64 与文件 { #base64-vs-files }
    
    请先考虑是否可以使用 [请求文件](../tutorial/request-files.md) 来上传二进制数据,并使用 [自定义响应 - FileResponse](./custom-response.md#fileresponse--fileresponse-) 来发送二进制数据,而不是把它编码进 JSONJSON 只能包含 UTF-8 编码的字符串,因此无法直接包含原始字节。
    
    Base64 可以把二进制数据编码为字符串,但为此会使用比原始二进制更多的字符,因此通常比直接使用文件的效率更低。
    
    仅当你确实需要在 JSON 中包含二进制数据且无法使用文件时,才使用 base64。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  6. internal/logger/target/kafka/kafka.go

    		ClientTLSKey  string             `json:"clientTLSKey"`
    	} `json:"tls"`
    	SASL struct {
    		Enable    bool   `json:"enable"`
    		User      string `json:"username"`
    		Password  string `json:"password"`
    		Mechanism string `json:"mechanism"`
    	} `json:"sasl"`
    	// Queue store
    	QueueSize int    `json:"queueSize"`
    	QueueDir  string `json:"queueDir"`
    
    	// Custom logger
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  7. MIGRATION.md

    ### 1. Admin UI Import
    
    **Path**: System > Backup > Upload
    
    **Supported Formats**:
    - **GSA XML** (`gsa*.xml`) - GSA configuration files
    - **Bulk NDJSON** (`*.bulk`) - Newline-delimited JSON documents
    - **Fess JSON** (`fess*.json`) - Fess configuration export
    - **Doc JSON** (`doc*.json`) - Document data export
    - **System Properties** (`system.properties`) - System configuration
    
    **Usage**:
    1. Navigate to **System > Backup**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 12:40:11 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java

         */
        @Override
        public ActionResponse godHandPrologue(final ActionRuntime runtime) {
            if (!isAccessAllowed()) {
                return asJson(new ApiErrorResponse().message(getMessage(messages -> messages.addErrorsUnauthorizedRequest(GLOBAL)))
                        .status(Status.UNAUTHORIZED)
                        .result());
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

                });
            });
            return asJson(new ApiResult.ApiStartJobResponse().jobLogId(jobLogId[0]).status(Status.OK).result());
        }
    
        /**
         * Stops a scheduled job by ID.
         *
         * @param id the ID of the scheduled job to stop
         * @return JSON response indicating success or failure
         */
        // PUT /api/admin/scheduler/{id}/stop
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  10. internal/logger/console.go

    	} else {
    		message = fmt.Sprint(args...)
    	}
    	logJSON, err := json.Marshal(&log.Entry{
    		Level:   ErrorKind,
    		Message: message,
    		Time:    time.Now().UTC(),
    		Trace:   &log.Trace{Message: message, Source: []string{getSource(6)}},
    	})
    	if err != nil {
    		panic(err)
    	}
    	fmt.Fprintln(Output, string(logJSON))
    }
    
    func (i errorMsg) quiet(msg string, args ...any) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.2K bytes
    - Click Count (0)
Back to Top