Class DefaultIntrospector

  • All Implemented Interfaces:
    Introspector

    public class DefaultIntrospector
    extends Object
    implements Introspector
    Used by the Jsonator. Allows creating JSON intelligently from java objects.
    • Method Detail

      • getProperties

        @NotNull
        public @NotNull Map<String,​Object> getProperties​(@NotNull
                                                               @NotNull Object bean,
                                                               @Nullable
                                                               @Nullable Class<? extends Annotation> annotationFilter)
        Description copied from interface: Introspector
        Return the properties of the bean as property names mapped to property value Objects.
        Properties are defined by getter methods of the form getX or isX, with no parameters.
        Specified by:
        getProperties in interface Introspector
        Returns:
        map of property name Strings to property values.