You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Jackson for reading JSONs with Picocli and GraalVM. Unfortunately, most of JSON libraries use reflection for JSON deserialization, and as a result, I have to add them to reflect-config.json. I wonder if there is any way to point records/classes that would be added to the reflect-config.json.
I saw there is a way to provide a custom factory class instead picocli.codegen.aot.graalvm.ReflectionConfigGenerator but before I start doing this, I wanted to ask if there is any easier way to achieve this.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey there,
I'm using Jackson for reading JSONs with Picocli and GraalVM. Unfortunately, most of JSON libraries use reflection for JSON deserialization, and as a result, I have to add them to
reflect-config.json
. I wonder if there is any way to point records/classes that would be added to thereflect-config.json
.I saw there is a way to provide a custom factory class instead
picocli.codegen.aot.graalvm.ReflectionConfigGenerator
but before I start doing this, I wanted to ask if there is any easier way to achieve this.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions