Ignore

Marks code elements that should be ignored by the reader.

This annotation is used to indicate that certain classes, constructors, properties, parameters, or variables should be excluded from processing, such as serialization, deserialization, or other user-defined operations. The reason provides context for why the element should be ignored, using values from IgnoreReason.

For example, this can be used to exclude fields from JSON serialization or to mark parameters that should not be considered in certain workflows.

Parameters

reason

The reason for ignoring the annotated element.

See also

Properties

Link copied to clipboard