Skip to content

Conversation

@jholdstock
Copy link
Member

No description provided.

Tests to determine exactly how gin decodes JSON into go maps. It is non
obvious because go and JSON values do not map 1-to-1 - a JSON map can be
empty, null, or it can be missing completely, whereas in go it can only
be nil or empty.

Having these tests ensures that the behaviour does not change
unexpectedly when a new version of gin is pulled.
@jholdstock jholdstock merged commit a8ac6ef into decred:master Dec 5, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants