- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 251 for converties (0.06 sec)
-
android/guava/src/com/google/common/base/CaseFormat.java
} /** * Returns a serializable {@code Converter} that converts strings from this format to {@code * targetFormat}. * * @since 16.0 */ public Converter<String, String> converterTo(CaseFormat targetFormat) { return new StringConverter(this, targetFormat); } private static final class StringConverter extends Converter<String, String> implements Serializable {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Apr 15 22:14:00 UTC 2025 - 6.5K bytes - Viewed (0) -
docs/pt/docs/advanced/dataclasses.md
/// ## Dataclasses em `response_model` Você também pode usar `dataclasses` no parâmetro `response_model`: {* ../../docs_src/dataclasses/tutorial002.py hl[1,7:13,19] *} A dataclass será automaticamente convertida para uma dataclass Pydantic. Dessa forma, seu esquema aparecerá na interface de documentação da API: <img src="/img/tutorial/dataclasses/image01.png"> ## Dataclasses em Estruturas de Dados Aninhadas
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/en/docs/advanced/response-directly.md
For example, you cannot put a Pydantic model in a `JSONResponse` without first converting it to a `dict` with all the data types (like `datetime`, `UUID`, etc) converted to JSON-compatible types. For those cases, you can use the `jsonable_encoder` to convert your data before passing it to a response:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.1K bytes - Viewed (0) -
docs/pt/docs/tutorial/encoder.md
Por exemplo, ele não recebe objetos `datetime`, pois estes objetos não são compatíveis com JSON. Então, um objeto `datetime` teria que ser convertido em um `str` contendo os dados no formato <a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">ISO</a>. Da mesma forma, este banco de dados não receberia um modelo Pydantic (um objeto com atributos), apenas um `dict`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 1.8K bytes - Viewed (0) -
docs/en/docs/advanced/using-request-directly.md
It would also mean that if you get data from the `Request` object directly (for example, read the body) it won't be validated, converted or documented (with OpenAPI, for the automatic API user interface) by FastAPI. Although any other parameter declared normally (for example, the body with a Pydantic model) would still be validated, converted, annotated, etc. But there are specific cases where it's useful to get the `Request` object.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java
} /** * Converts the given object to a {@link Date}. * * @param src * The source object to convert. * @return The converted {@link Date}. */ public static Date toDate(final Object src) { return toDate(src, null, LocaleUtil.getDefault()); } /** * Converts the given object to a {@link Date}. *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Shorts.java
} @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 1; } /** * Returns a serializable converter object that converts between strings and shorts using {@link * Short#decode} and {@link Short#toString()}. The returned converter throws {@link * NumberFormatException} if the input string is invalid. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
} @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 1; } /** * Returns a serializable converter object that converts between strings and shorts using {@link * Short#decode} and {@link Short#toString()}. The returned converter throws {@link * NumberFormatException} if the input string is invalid. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/TimeConversionUtil.java
} /** * Converts the given object to a {@link Date}. * * @param src * The source object to convert. * @return The converted {@link Date}. */ public static Date toDate(final Object src) { return toDate(src, null, LocaleUtil.getDefault()); } /** * Converts the given object to a {@link Date}. *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 20.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
* @return the converted {@link Date} */ public static Date toDate(final Object src, final String pattern) { return toDate(src, pattern, LocaleUtil.getDefault()); } /** * Converts an object to {@link Date}. * * @param src the source object * @param locale the locale (must not be {@literal null}) * @return the converted {@link Date} */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 19.6K bytes - Viewed (0)