module Athena::Serializer::ExclusionStrategies

Overview

Exclusion Strategies allow controlling which properties should be (de)serialized.

Athena::Serializer includes two common strategies: ASR::ExclusionStrategies::Groups, and ASR::ExclusionStrategies::Version.

Custom strategies can be implemented by via ExclusionStrategies::ExclusionStrategyInterface.

!!!todo Once feasible, support compile time exclusion strategies.

Defined in:

athena-serializer.cr
exclusion_strategies/exclusion_strategy_interface.cr