Releases: davidecaroselli/jsonthis
Releases · davidecaroselli/jsonthis
v0.3.0
Highlights
- The old
JsonFieldFunction
signature has been updated toJsonTraversalFn
. This change impact custom serializers, field's visible parameter functions, and custom circular-reference serializers. Jsonthis.toJSON()
arguments have been updated replacingcontext
with more future-proofToJsonOptions
and theJsonTraversalState
optional argument has been added to allow for chainedtoJson()
invocations by custom serializers.
Features
- Rework
JsonFieldFunction
toJsonTraversalFn
andJsonTraversalState
(#5) [f029da6] - Replace
context
withToJsonOptions
inJsonthis.toJSON()
to support further customization (#4) [9a8299b]
Bug Fixes
- Fix bug with duplicated property leading to incorrect circular reference detection.
v0.2.2
Features
- Improve README.md with Table of Contents.