gson-compile/README.md

28 lines
744 B
Markdown
Raw Normal View History

# Gson-Compile
A java annotation processor implementing automated type adapter generation for gson-comments.
The goal of this AP is to
- Support common features such as getters, setters, fields, constructors
- Support modern language features such as records
- Support json5 through gson-comments
- Be compile-time where possible (ideally compatible with proguard)
## Currently supported
- Primitive types
- Adapter generation
- Utility methods
- Strict no-reflection enforcement via `-AgsonCompileNoReflect`
## TODO
- Arrays
- Comments
- Nested serializable types
- Date
- Enums
- Lists
- Maps
- Queues
- Records
- Support for nested types from libraries
- Sets
- Static classes (for configs)
- GPrefer to bypass builder/constructor recovery