Skip to content

test that json decode will overlay properly#6

Merged
algorandskiy merged 1 commit into
algorandskiy:pavel/goal-netfrom
brianolson:json-overlay-test
Jan 31, 2023
Merged

test that json decode will overlay properly#6
algorandskiy merged 1 commit into
algorandskiy:pavel/goal-netfrom
brianolson:json-overlay-test

Conversation

@brianolson
Copy link
Copy Markdown

The docs for encoding/json talk about what happens for json fields not in the struct, but doesn't actually promise to not touch fields in the struct that aren't in the json, so I wrote this test.

@algorandskiy algorandskiy merged commit bcde4e1 into algorandskiy:pavel/goal-net Jan 31, 2023
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