Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit c61423d

Browse files
committed
A quick look at how to deserialize
1 parent 4788715 commit c61423d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,20 @@ You can also write your own by creating `object` which extends the `NameJoiner`
409409
The `KParameterFlatten` annotation also works with all the deserialization methods we have introduced so far.
410410
Also, you can use further `KParameterFlatten` annotations in `InnerDst`.
411411

412+
#### A quick look at how to deserialize
413+
Here's a quick look at how to deserialize the content so far.
414+
415+
- I want to convert from a single value to multiple arguments.
416+
- Use the `constructor` or `factory methods` to perform the conversion.
417+
- I want to convert a single value to a single argument.
418+
- Use the `constructor` or `factory methods` to perform the conversion.
419+
- Use `KColumnDeserializer` annotation.
420+
- Use custom deserialization annotations.
421+
- (Use `KParameterFlatten` annotation.)
422+
- I want to convert single argument from multiple values.
423+
- Use the `constructor` or `factory methods` to perform the conversion.
424+
- Use `KParameterFlatten` annotation.
425+
412426
### Use default arguments
413427
`KRowMapper` supports `default arguments`.
414428
`Default arguments` are available in the following situations:

0 commit comments

Comments
 (0)