Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 273 for serializar (0.83 seconds)

  1. docs/en/docs/advanced/response-directly.md

    /// tip
    
    You will normally have much better performance using a [Response Model](../tutorial/response-model.md) than returning a `JSONResponse` directly, as that way it serializes the data using Pydantic, in Rust.
    
    ///
    
    ## Return a `Response` { #return-a-response }
    
    You can return a `Response` or any sub-class of it.
    
    /// info
    
    `JSONResponse` itself is a sub-class of `Response`.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java

         * created automatically.
         *
         * @param output The file to serialize the model to, must not be {@code null}.
         * @param options The options to use for serialization, may be {@code null} to use the default values.
         * @param model The model to serialize, must not be {@code null}.
         * @throws IOException If the model could not be serialized.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/io/SerializeUtil.java

            return ObjectInputFilter.Status.REJECTED;
        };
    
        /**
         * Tests if the object can be serialized.
         *
         * @param obj the object to be serialized (must not be {@literal null})
         * @return the deserialized object
         */
        public static Object serialize(final Object obj) {
            assertArgumentNotNull("obj", obj);
    
            final byte[] binary = fromObjectToBinary(obj);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  4. fastapi/routing.py

                raise ResponseValidationError(
                    errors=errors,
                    body=response_content,
                    endpoint_ctx=ctx,
                )
            serializer = field.serialize_json if dump_json else field.serialize
            return serializer(
                value,
                include=include,
                exclude=exclude,
                by_alias=by_alias,
                exclude_unset=exclude_unset,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  5. internal/hash/checksum_test.go

    	// Set WantParts to indicate 3 parts
    	finalChecksum.WantParts = 3
    
    	// Test AppendTo serialization
    	var serialized []byte
    	serialized = finalChecksum.AppendTo(serialized, checksumCombined)
    
    	// Use ChecksumFromBytes to deserialize the final checksum
    	chksmOut := ChecksumFromBytes(serialized)
    	if chksmOut == nil {
    		t.Fatal("ChecksumFromBytes returned nil")
    	}
    
    	// Assert they are exactly equal
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsWriter.java

         * the method returns.
         *
         * @param output The writer to serialize the toolchains to, must not be {@code null}.
         * @param options The options to use for serialization, may be {@code null} to use the default values.
         * @param toolchains The toolchains to serialize, must not be {@code null}.
         * @throws IOException If the toolchains could not be serialized.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 05 09:37:42 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  7. docs/es/docs/advanced/json-base64-bytes.md

    }
    ```
    
    ## Pydantic `bytes` para datos de salida { #pydantic-bytes-for-output-data }
    
    También puedes usar campos `bytes` con `ser_json_bytes` en la configuración del modelo para datos de salida, y Pydantic serializará los bytes como base64 al generar la response JSON.
    
    {* ../../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 19 18:12:26 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Serialization.java

       * concurrent maps whose content may change while the method is running.
       *
       * <p>The serialized output consists of the number of entries, first key, first value, second key,
       * second value, and so on.
       */
      static <K extends @Nullable Object, V extends @Nullable Object> void writeMap(
          Map<K, V> map, ObjectOutputStream stream) throws IOException {
        stream.writeInt(map.size());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  9. cmd/xl-storage-meta-inline.go

    		if err != nil {
    			return keys, err
    		}
    	}
    	return keys, nil
    }
    
    // serialize will serialize the provided keys and values.
    // The function will panic if keys/value slices aren't of equal length.
    // Payload size can give an indication of expected payload size.
    // If plSize is <= 0 it will be calculated.
    func (x *xlMetaInlineData) serialize(plSize int, keys [][]byte, vals [][]byte) {
    	if len(keys) != len(vals) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Serialization.java

       * concurrent maps whose content may change while the method is running.
       *
       * <p>The serialized output consists of the number of entries, first key, first value, second key,
       * second value, and so on.
       */
      static <K extends @Nullable Object, V extends @Nullable Object> void writeMap(
          Map<K, V> map, ObjectOutputStream stream) throws IOException {
        stream.writeInt(map.size());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
Back to Top