https://github.com/justedlev/jtc4mm
๐๏ธ Java type converters for ModelMapper
https://github.com/justedlev/jtc4mm
converter converter-library converters java java-11 java-lib java-library maven maven-dependency
Last synced: 2 months ago
JSON representation
๐๏ธ Java type converters for ModelMapper
- Host: GitHub
- URL: https://github.com/justedlev/jtc4mm
- Owner: justedlev
- License: apache-2.0
- Created: 2024-09-19T08:03:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-12-15T12:13:40.000Z (4 months ago)
- Last Synced: 2025-12-16T07:51:11.639Z (4 months ago)
- Topics: converter, converter-library, converters, java, java-11, java-lib, java-library, maven, maven-dependency
- Language: Java
- Homepage:
- Size: 147 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
jtc4mm
๐ Java type converters for ModelMapper
[](https://github.com/justedlev/jtc4mm)
[](https://central.sonatype.com/search?q=io.justedlev.commons.jtc4mm)
[](https://www.apache.org/licenses/LICENSE-2.0.txt)
[](https://github.com/Justedlev/jtc4mm/star)
[](https://github.com/Justedlev/jtc4mm/issues)
### ๐ค Why?
I was inspired to create __jtc4mm__ (java type converters for ModelMapper),
because I noticed that I often implement converters in my projects,
either as a separate module or inside the project itself
(I believe that Iโm not the only one who encountered this),
so What are you looking for, simple converters for one of the powerful tools of
[ModelMapper](https://modelmapper.org/)
### ๐ฅ Maven dependency
```xml
io.github.justedlev.commons
jtc4mm
0.21.13
```
### ๐งพ Set
What has already been implemented:
1. Number
- [BigDecimalToDouble](src/main/java/io/justedlev/commons/jtc4mm/BigDecimalToDouble.java)
- [BigDecimalToFloat](src/main/java/io/justedlev/commons/jtc4mm/BigDecimalToFloat.java)
- [BigDecimalToInteger](src/main/java/io/justedlev/commons/jtc4mm/BigDecimalToInteger.java)
- [BigDecimalToLong](src/main/java/io/justedlev/commons/jtc4mm/BigDecimalToLong.java)
- [DoubleToBigDecimal](src/main/java/io/justedlev/commons/jtc4mm/DoubleToBigDecimal.java)
- [FloatToBigDecimal](src/main/java/io/justedlev/commons/jtc4mm/FloatToBigDecimal.java)
- [IntegerToBigDecimal](src/main/java/io/justedlev/commons/jtc4mm/IntegerToBigDecimal.java)
- [LongToBigDecimal](src/main/java/io/justedlev/commons/jtc4mm/LongToBigDecimal.java)
2. Date and time
- [DateToLocalDateTime](src/main/java/io/justedlev/commons/jtc4mm/DateToLocalDateTime.java)
- [DateToTimestamp](src/main/java/io/justedlev/commons/jtc4mm/DateToTimestamp.java)
- [InstantToLocalDateTime](src/main/java/io/justedlev/commons/jtc4mm/InstantToLocalDateTime.java)
- [InstantToTimestamp](src/main/java/io/justedlev/commons/jtc4mm/InstantToTimestamp.java)
- [LocalDateTimeToTimestamp](src/main/java/io/justedlev/commons/jtc4mm/LocalDateTimeToTimestamp.java)
- [LocalDateToTimestamp](src/main/java/io/justedlev/commons/jtc4mm/LocalDateToTimestamp.java)
- [TimestampToLocalDate](src/main/java/io/justedlev/commons/jtc4mm/TimestampToLocalDate.java)
- [TimestampToLocalDateTime](src/main/java/io/justedlev/commons/jtc4mm/TimestampToLocalDateTime.java)
- [LocalDateToSqlDate](src/main/java/io/justedlev/commons/jtc4mm/LocalDateToSqlDate.java)
- [SqlDateToLocalDate](src/main/java/io/justedlev/commons/jtc4mm/SqlDateToLocalDate.java)
3. String
- [ToLowerCase](src/main/java/io/justedlev/commons/jtc4mm/ToLowerCase.java)
- [ToUpperCase](src/main/java/io/justedlev/commons/jtc4mm/ToUpperCase.java)
- [StringToUUID](src/main/java/io/justedlev/commons/jtc4mm/StringToUUID.java)