Skip to content

Commit

Permalink
Fix typos in README (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-aira authored and ansman committed Jun 14, 2024
1 parent 7b77f51 commit 4da0d8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
An annotation processor that generates [Moshi](https://github.com/square/moshi) adapters from Kotlin classes.

There is a reflective adapter for Kotlin but that requires the kotlin reflection library which adds a lot of methods and
increase the binary size which in a constrained environment such as Android is something is not preferable.
increases the binary size which in a constrained environment such as Android is not preferable.

This is where Kotshi comes in, it generates fast and optimized adapters for your Kotlin data classes, just as if you'd
written them by hand yourself. It will automatically regenerate the adapters when you modify your class.
Expand Down Expand Up @@ -89,7 +89,7 @@ should be used when an unknown value is encountered (by default an exception is
### Transient Values
Properties marked with `@Transient` are not serialized. All transient properties must have a default value.
Only properties declared in the constructor needs to be annotated since other properties are ignores.
Only properties declared in the constructor need to be annotated since other properties are ignored.
### Custom Names
By default, the property or enum entry name is used when reading and writing JSON. To change the name used you may use
Expand Down

0 comments on commit 4da0d8a

Please sign in to comment.