Class B2JsonObjectArrayHandler<T>

    • Constructor Detail

      • B2JsonObjectArrayHandler

        public B2JsonObjectArrayHandler​(java.lang.Class<T> arrayClazz,
                                        java.lang.Class eltClazz,
                                        B2JsonTypeHandler itemHandler)
    • Method Detail

      • getHandledType

        public java.lang.reflect.Type getHandledType()
        Description copied from interface: B2JsonTypeHandler
        What class does this handle?
        Returns:
      • defaultValueForOptional

        public T defaultValueForOptional()
        Description copied from interface: B2JsonTypeHandler
        Returns the default value to use when an optional field is not present.
      • isStringInJson

        public boolean isStringInJson()
        Description copied from interface: B2JsonTypeHandler
        Does this type look like a string in JSON?