https://github.com/careem/converter-codegen
A Java library that auto-generates converters.
https://github.com/careem/converter-codegen
annotation-processing converter java spring
Last synced: 7 months ago
JSON representation
A Java library that auto-generates converters.
- Host: GitHub
- URL: https://github.com/careem/converter-codegen
- Owner: careem
- License: apache-2.0
- Created: 2020-05-29T07:06:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-07-11T15:27:29.000Z (7 months ago)
- Last Synced: 2025-07-11T17:47:42.689Z (7 months ago)
- Topics: annotation-processing, converter, java, spring
- Language: Java
- Homepage: https://careem.github.io/converter-codegen/
- Size: 433 KB
- Stars: 6
- Watchers: 57
- Forks: 1
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# converter-annotation-processor

[](https://search.maven.org/artifact/io.github.careem/converter-annotation-processor)
> A Java library that auto-generates converters.

## Setup
Add the following dependency in your `pom.xml` file:
```xml
io.github.careem
converter-annotation-processor
0.7.2
```
That's it, you are ready to generate converters!
## Usage
To generate a `ClassA` object to `ClassB` object converter:
- add `@Converter(sourceClass = ClassA.class)` annotation on `ClassB`
- `mvn clean install ...`
- `ClassAToClassBConverter` gets auto-generated!
Please visit [usage](https://careem.github.io/converter-codegen/usage) for more.
## Contributing
Please visit [contributing](https://careem.github.io/converter-codegen/contributing).