diff --git a/README.md b/README.md index f998f23..c886cd4 100644 --- a/README.md +++ b/README.md @@ -12,18 +12,16 @@ The goal of this AP is to - Utility methods - Strict no-reflection enforcement via `-AgsonCompileNoReflect` - Comments via `@GComment` +- Records +- Nested serializable types ## TODO - Arrays -- Nested serializable types +- Collections (Sets, Lists, Queues, Deques) +- Maps - Date - Enums -- Lists -- Maps -- Queues -- Records - Support for nested types from libraries -- Sets - Static classes (for configs) - GPrefer to bypass builder/constructor recovery diff --git a/gson-compile-example/src/main/java/io/gitlab/jfronny/gson/Main.java b/gson-compile-example/src/main/java/io/gitlab/jfronny/gson/Main.java index e3b7f8e..c813920 100644 --- a/gson-compile-example/src/main/java/io/gitlab/jfronny/gson/Main.java +++ b/gson-compile-example/src/main/java/io/gitlab/jfronny/gson/Main.java @@ -30,4 +30,8 @@ public class Main { @GComment("Yes!") public boolean primitive; } + + @GSerializable + public record ExampleRecord(String hello, ExamplePojo2 pojo) { + } } \ No newline at end of file