Class JsonNestedMapProcessor

    • Constructor Detail

      • JsonNestedMapProcessor

        public JsonNestedMapProcessor()
    • Method Detail

      • isApplicable

        public boolean isApplicable​(java.lang.Object object,
                                    java.lang.reflect.Type type,
                                    boolean clone,
                                    java.lang.ClassLoader targetcl)
        Test if the processor is applicable.
        Parameters:
        object - The object.
        targetcl - If not null, the traverser should make sure that the result object is compatible with the class loader, e.g. by cloning the object using the class loaded from the target class loader.
        Returns:
        True, if is applicable.
      • getValueClass

        public java.lang.Class<?> getValueClass​(java.lang.Object val,
                                                java.lang.Object context)
        Returns the class of a map value.
        Overrides:
        getValueClass in class JsonMapProcessor
        Parameters:
        val - The value.
        context - The context.
        Returns:
        The value class.