-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8a802dc
commit a5bccdc
Showing
8 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
title: "Built-in Mappers" | ||
summary: "Built-in Mappers." | ||
eleventyNavigation: | ||
key: Built-in Mappers | ||
parent: Object Mapping | ||
order: 12 | ||
--- | ||
|
||
Mappie comes with several safe built-in mappers. These mappers are defined in the package `tech.mappie.api.builtin` and | ||
can be applied explicitly, or implicitly. | ||
|
||
The types below that are in *cursive* are not available on all platforms. For example, `BigInteger` is only available | ||
on the JVM platform. | ||
|
||
## Numeric Mappers | ||
The following numeric mappers are built-int. | ||
|
||
| | Byte | Short | Int | Long | *BigInteger* | | ||
|--------------|------|-------|-----|------|--------------| | ||
| Byte | | X | X | X | X | | ||
| Short | | | X | X | X | | ||
| Int | | | | X | X | | ||
| Long | | | | | X | | ||
|
||
## Char Mappers | ||
The following char mappers are built-int | ||
|
||
| | Char | String | | ||
|--------|------|--------| | ||
| Char | | X | | ||
|
||
## LocalDate Mappers | ||
The following numeric mappers are built-int | ||
|
||
| | *LocalDateTime* | *LocalTime* | *LocalDate* | | ||
|-----------------|-----------------|-------------|-------------| | ||
| *LocalDateTime* | | X | X | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters