Skip to content

refactor: Parse using serde deserialisation#158

Merged
Alystrasz merged 3 commits intomainfrom
refactor/mod-json-parsing
Feb 6, 2023
Merged

refactor: Parse using serde deserialisation#158
Alystrasz merged 3 commits intomainfrom
refactor/mod-json-parsing

Conversation

@GeckoEidechse
Copy link
Copy Markdown
Member

@GeckoEidechse GeckoEidechse commented Feb 5, 2023

This gets rid of a bunch of code by making use of serde functionality. This should have honestly been written like this in the first place but when I first used serde I wasn't aware of that functionality even though it's its defining feature ^^"

Reduce code by making use of serde deserialisation.

Still supports legacy method
While useful, it just made the code messy...
@GeckoEidechse GeckoEidechse marked this pull request as ready for review February 5, 2023 15:05
Copy link
Copy Markdown
Collaborator

@Alystrasz Alystrasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good refactoring work!
LGTM, working on Linux.

@Alystrasz Alystrasz merged commit 478536e into main Feb 6, 2023
@Alystrasz Alystrasz deleted the refactor/mod-json-parsing branch February 6, 2023 07:31
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