Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 316 for serialized (0.14 seconds)

  1. docs/tr/docs/advanced/json-base64-bytes.md

    {* ../../docs_src/json_base64_bytes/tutorial001_py310.py ln[1:2,12:16,29,38:41] hl[16] *}
    
    ## Giriş ve Çıkış Verisi için Pydantic `bytes` { #pydantic-bytes-for-input-and-output-data }
    
    Elbette, aynı modeli base64 kullanacak şekilde yapılandırıp hem girişte (*validate*) `val_json_bytes` ile hem de çıkışta (*serialize*) `ser_json_bytes` ile JSON veri alıp gönderirken kullanabilirsiniz.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:51:35 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/json-base64-bytes.md

      "content": "hello"
    }
    ```
    
    ## Pydantic `bytes` for Output Data { #pydantic-bytes-for-output-data }
    
    You can also use `bytes` fields with `ser_json_bytes` in the model config for output data, and Pydantic will *serialize* the bytes as base64 when generating the JSON response.
    
    {* ../../docs_src/json_base64_bytes/tutorial001_py310.py ln[1:2,12:16,29,38:41] hl[16] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelReader.java

         * @param options The options to use for deserialization, may be {@code null} to use the default values.
         * @return The deserialized model, never {@code null}.
         * @throws IOException If the model could not be deserialized.
         * @throws ModelParseException If the input format could not be parsed.
         */
        Model read(File input, Map<String, ?> options) throws IOException, ModelParseException;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. tests/test_request_params/test_cookie/test_list.py

    # Currently, there is no way to pass multiple cookies with the same name.
    # The only way to pass multiple values for cookie params is to serialize them using
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Dec 11 16:15:36 GMT 2025
    - 234 bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

        //                                                                         ===========
    
        /**
         * Serializes a map to a JSON string.
         *
         * @param map the map to serialize.
         * @return the JSON string, or {@code "{}"} on failure.
         */
        protected String toJson(final Map<String, Object> map) {
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  6. fastapi/.agents/skills/fastapi/SKILL.md

    @app.post("/items/")
    async def create_item(item: Item, project_id: Annotated[int, Query(...)]): ...
    ```
    
    ## Return Type or Response Model
    
    When possible, include a return type. It will be used to validate, filter, document, and serialize the response.
    
    ```python
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  7. docs/tr/docs/advanced/additional-status-codes.md

    /// warning | Uyarı
    
    Yukarıdaki örnekte olduğu gibi bir `Response`'u doğrudan döndürdüğünüzde, response aynen olduğu gibi döndürülür.
    
    Bir model ile serialize edilmez, vb.
    
    İçinde olmasını istediğiniz veriyi taşıdığından emin olun ve değerlerin geçerli JSON olduğundan emin olun (eğer `JSONResponse` kullanıyorsanız).
    
    ///
    
    /// note | Teknik Detaylar
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  8. docs/pt/docs/advanced/custom-response.md

    Com um modelo de resposta, o FastAPI usará o Pydantic para serializar os dados para JSON, sem passos intermediários, como convertê-los com `jsonable_encoder`, o que aconteceria em qualquer outro caso.
    
    E, por baixo dos panos, o Pydantic usa os mesmos mecanismos em Rust que o `orjson` para serializar para JSON, então você já terá a melhor performance com um modelo de resposta.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 12K bytes
    - Click Count (0)
  9. guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/Platform.java

    import static com.google.common.base.Preconditions.checkNotNull;
    
    /**
     * Methods factored out so that they can be emulated differently in GWT.
     *
     * @author Chris Povirk
     */
    final class Platform {
      /** Serializes and deserializes the specified object (a no-op under GWT). */
      @SuppressWarnings("unchecked")
      static <T> T reserialize(T object) {
        return checkNotNull(object);
      }
    
      private Platform() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        Predicate<Class<?>> predicate = Predicates.subtypeOf(Integer.class);
        Predicate<Class<?>> reserialized = SerializableTester.reserializeAndAssert(predicate);
    
        assertEvalsLike(predicate, reserialized, Integer.class);
        assertEvalsLike(predicate, reserialized, Float.class);
        assertEvalsLike(predicate, reserialized, null);
      }
    
      /*
       * Tests for Predicates.isNull()
       */
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 32.2K bytes
    - Click Count (0)
Back to Top