abstract struct CrSerializer::ExclusionStrategies::ExclusionStrategy
- CrSerializer::ExclusionStrategies::ExclusionStrategy
- Struct
- Value
- Object
Overview
Base struct of all exclusion strategies.
Custom exclusion strategies can be defined by simply inheriting from the base struct and implementing the #skip_property?
method.
Direct Known Subclasses
- CrSerializer::ExclusionStrategies::Disjunct
- CrSerializer::ExclusionStrategies::Groups
- CrSerializer::ExclusionStrategies::Version
Defined in:
exclusion_strategies/exclusion_strategy.crConstructors
Instance Method Summary
-
#skip_property?(metadata : PropertyMetadata, context : Context) : Bool
Returns
true
if a property should NOT be serialized/deserialized.
Constructor Detail
Instance Method Detail
Returns true
if a property should NOT be serialized/deserialized.