You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The old JsonFieldFunction signature has been updated to JsonTraversalFn. This change impact custom serializers, field's visible parameter functions, and custom circular-reference serializers.
Jsonthis.toJSON() arguments have been updated replacing context with more future-proof ToJsonOptions and the JsonTraversalState optional argument has been added to allow for chained toJson() invocations by custom serializers.
Features
Rework JsonFieldFunction to JsonTraversalFn and JsonTraversalState (#5) [f029da6]
Replace context with ToJsonOptions in Jsonthis.toJSON() to support further customization (#4) [9a8299b]
Bug Fixes
Fix bug with duplicated property leading to incorrect circular reference detection.