@Target(value={METHOD,CONSTRUCTOR}) @Retention(value=RUNTIME) @Inherited @Documented public @interface Creator
JsonProperty and
define a name. However Genson is also able to use the names from the method signature, but by
default it is disabled. To enable this feature use
new Genson.Builder().setWithDebugInfoPropertyNameResolver(true).create();It will register
ASMCreatorParameterNameResolver name resolver, that will use the debug symbols generated during
compilation to resolve the names.
By default if a object contains constructors and methods annotated with @Creator the factory
methods will be privileged.JsonProperty,
StandardMutaAccessorResolverCopyright © 2014. All Rights Reserved.