Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 841 - 850 of 1,420 for gson (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh/docs/tutorial/response-model.md

    但如果它们并没有存储实际的值,你可能想从结果中忽略它们的默认值。
    
    举个例子,当你在 NoSQL 数据库中保存了具有许多可选属性的模型,但你又不想发送充满默认值的很长的 JSON 响应。
    
    ### 使用 `response_model_exclude_unset` 参数
    
    你可以设置*路径操作装饰器*的 `response_model_exclude_unset=True` 参数:
    
    {* ../../docs_src/response_model/tutorial004.py hl[24] *}
    
    然后响应中将不会包含那些默认值,而是仅有实际设置的值。
    
    因此,如果你向*路径操作*发送 ID 为 `foo` 的商品的请求,则响应(不包括默认值)将为:
    
    ```JSON
    {
        "name": "Foo",
        "price": 50.2
    }
    ```
    
    /// info
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  2. docs/ja/docs/tutorial/testing.md

    リクエストに情報を渡せるクライアントが必要で、その方法がわからない場合はいつでも、`httpx` での実現方法を検索 (Google) できます。
    
    テストでも同じことを行います。
    
    例えば:
    
    * *パス* または *クエリ* パラメータを渡すには、それをURL自体に追加します。
    * JSONボディを渡すには、Pythonオブジェクト (例: `dict`) を `json` パラメータに渡します。
    * JSONの代わりに *フォームデータ* を送信する必要がある場合は、代わりに `data` パラメータを使用してください。
    * *ヘッダー* を渡すには、`headers` パラメータに `dict` を渡します。
    * *cookies* の場合、 `cookies` パラメータに `dict` です。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. docs/compression/README.md

    Config `compress` settings take extensions and mime-types to be compressed.
    
    ```bash
    ~ mc admin config get myminio compression
    compression extensions=".txt,.log,.csv,.json,.tar,.xml,.bin" mime_types="text/*,application/json,application/xml"
    ```
    
    Default config includes most common highly compressible content extensions and mime-types.
    
    ```bash
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. cmd/storage-interface.go

    	// Storage operations.
    
    	// Returns true if disk is online and its valid i.e valid format.json.
    	// This has nothing to do with if the drive is hung or not responding.
    	// For that individual storage API calls will fail properly. The purpose
    	// of this function is to know if the "drive" has "format.json" or not
    	// if it has a "format.json" then is it correct "format.json" or not.
    	IsOnline() bool
    
    	// Returns the last time this disk (re)-connected
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  5. docs/auditlog/auditlog-echo.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bytes"
    	"encoding/json"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"net/http"
    )
    
    var port int
    
    func init() {
    	flag.IntVar(&port, "port", 8080, "Port to listen on")
    }
    
    func mainHandler(w http.ResponseWriter, r *http.Request) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  6. docs/uk/docs/alternatives.md

    Він не дуже добре обробляє вкладені моделі. Отже, якщо тіло JSON у запиті є об’єктом JSON із внутрішніми полями, які, у свою чергу, є вкладеними об’єктами JSON, його неможливо належним чином задокументувати та перевірити.
    
    /// check | Надихнуло **FastAPI** на
    
    Використовувати типи Python, щоб мати чудову підтримку редактора.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 38.1K bytes
    - Click Count (0)
  7. docs/fr/docs/index.md

    <small>* estimation basée sur des tests d'une équipe de développement interne, construisant des applications de production.</small>
    
    ## Sponsors
    
    <!-- sponsors -->
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 22K bytes
    - Click Count (0)
  8. .teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt

                                cleanDestination = true
                                val perfResultArtifactRule =
                                    "results/performance/build/test-results-*.zip!performance-tests/perf-results*.json => " +
                                        "$performanceResultsDir/${performanceTest.bucketIndex}/"
                                artifactRules =
                                    if (index == 0) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                        val v2Jar = v2.tasks.named("jar")
                        val newUpgradedPropertiesFile = layout.buildDirectory.file("gradle-api-info/new-upgraded-properties.json")
                        val oldUpgradedPropertiesFile = layout.buildDirectory.file("gradle-api-info/old-upgraded-properties.json")
                        val extractGradleApiInfo = tasks.register<ExtractGradleApiInfoTask>("extractGradleApiInfo") {
                            gradleApiInfoJarPrefix = "v"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 18K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/plugin/DeleteBody.java

     * Extends the standard plugin DeleteForm to provide JSON request body functionality
     * for REST API operations.
     */
    public class DeleteBody extends DeleteForm {
    
        /**
         * Creates a new instance of DeleteBody.
         * This constructor initializes the request body for plugin deletion API operations,
         * extending the standard plugin DeleteForm with JSON request body functionality.
         */
        public DeleteBody() {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.2K bytes
    - Click Count (0)
Back to Top