tebru / gson-php

Gson implemented in PHP
Other
151 stars 18 forks source link

Adding runtime data to exclusion strategies #5

Closed natebrunette closed 7 years ago

natebrunette commented 7 years ago

ExclusionStrategy now accepts ExclusionData as a second parameter to shouldSkipProperty(). This allows the strategy to make runtime decisions on if the property should be excluded based on the provided data.

Signed-off-by: Nate Brunette n@tebru.net