Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

static property json decoder #3

Closed

Conversation

radmakr
Copy link

@radmakr radmakr commented Feb 10, 2025

Saw this comment,

should this be a JSONDecoder subclass?

Personally, the way I typically write my networking stack, a static property like what is in this PR makes sense.
This took me 2 minutes. If you don't think the change is appropriate we can just close the PR and not merge.

@radmakr
Copy link
Author

radmakr commented Feb 10, 2025

Wait, I'm just realizing that this isn't Sendable

@radmakr radmakr closed this Feb 14, 2025
@mattmassicotte
Copy link
Owner

Sorry I was unavailable and wasn't able to look more closely.

Are you not into this anymore?

@radmakr
Copy link
Author

radmakr commented Feb 18, 2025

I am into it for my needs but I closed the PR because I assumed without the sendable conformance it might not be appropriate for this package.

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