- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 460 for Convert (0.03 sec)
-
docs/en/docs/tutorial/encoder.md
# JSON Compatible Encoder { #json-compatible-encoder } There are some cases where you might need to convert a data type (like a Pydantic model) to something compatible with JSON (like a `dict`, `list`, etc). For example, if you need to store it in a database. For that, **FastAPI** provides a `jsonable_encoder()` function. ## Using the `jsonable_encoder` { #using-the-jsonable-encoder }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
import org.codelibs.core.collection.CaseInsensitiveMap; import org.codelibs.core.convert.ByteConversionUtil; import org.codelibs.core.convert.DoubleConversionUtil; import org.codelibs.core.convert.FloatConversionUtil; import org.codelibs.core.convert.IntegerConversionUtil; import org.codelibs.core.convert.LongConversionUtil; import org.codelibs.core.convert.ShortConversionUtil; import org.codelibs.core.exception.BeanFieldSetAccessibleFailureException;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 25.8K bytes - Viewed (1) -
src/test/java/jcifs/util/HexdumpTest.java
import jcifs.BaseTest; /** * Test class for Hexdump utility functionality */ @DisplayName("Hexdump Utility Tests") class HexdumpTest extends BaseTest { @Test @DisplayName("Should convert byte array to hex string") void testToHexString() { // Given byte[] data = { 0x00, 0x0F, (byte) 0xFF, 0x7F, (byte) 0x80 }; // When String result = Hexdump.toHexString(data);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/CaseFormatTest.java
assertThat(UPPER_UNDERSCORE.converterTo(UPPER_CAMEL).convert("FOO_BAR")).isEqualTo("FooBar"); assertThat(UPPER_UNDERSCORE.converterTo(LOWER_CAMEL).convert("FOO_BAR")).isEqualTo("fooBar"); assertThat(UPPER_CAMEL.converterTo(UPPER_UNDERSCORE).convert("FooBar")).isEqualTo("FOO_BAR"); assertThat(LOWER_CAMEL.converterTo(UPPER_UNDERSCORE).convert("fooBar")).isEqualTo("FOO_BAR"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.convert; import static org.codelibs.core.convert.TimeConversionUtil.toCalendar; import static org.codelibs.core.convert.TimeConversionUtil.toDate; import static org.codelibs.core.convert.TimeConversionUtil.toPlainPattern; import static org.codelibs.core.convert.TimeConversionUtil.toSqlTime; import static org.hamcrest.CoreMatchers.is;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Hexdump.java
final char[] c = new char[size]; toHexChars(val, c, 0, size); return new String(c); } /** * Converts a long value to a hexadecimal string representation with specified padding. * * @param val the long value to convert to hexadecimal * @param size the desired length of the resulting hex string (will be left-padded with zeros)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/DocumentUtil.java
} return convertObj(value, clazz); } /** * Converts an object to the specified type. * Supports conversion to String, Date, Long, Integer, Double, Float, and Boolean types. * * @param <T> the type to convert the value to * @param value the value to convert * @param clazz the target class type
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java
return FuzzyQuery.class.getSimpleName(); } /** * Executes the fuzzy query command to convert a Lucene FuzzyQuery into an OpenSearch QueryBuilder. * * @param context the query context containing search configuration * @param query the Lucene query to convert (must be a FuzzyQuery) * @param boost the boost factor to apply to the query * @return OpenSearch QueryBuilder for fuzzy matching
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.convert; import static org.codelibs.core.convert.TimestampConversionUtil.toCalendar; import static org.codelibs.core.convert.TimestampConversionUtil.toDate; import static org.codelibs.core.convert.TimestampConversionUtil.toPlainPattern; import static org.codelibs.core.convert.TimestampConversionUtil.toSqlTimestamp; import static org.hamcrest.CoreMatchers.is;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 11.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java
} } return defaultValue; } /** * Converts an object to the specified class type. * @param <T> The target type. * @param value The object to convert. * @param clazz The class type to convert to. * @return The converted object. */ @SuppressWarnings("unchecked")
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 9.7K bytes - Viewed (0)