Skip to content

Accept any type as default json parser value#198

Closed
tomgrin10 wants to merge 6 commits intosloria:masterfrom
tomgrin10:json-non-str-default
Closed

Accept any type as default json parser value#198
tomgrin10 wants to merge 6 commits intosloria:masterfrom
tomgrin10:json-non-str-default

Conversation

@tomgrin10
Copy link
Copy Markdown
Contributor

To set a default dict value for example, I currently have to use json.dumps, this PR fixes that

@tomgrin10 tomgrin10 changed the title Accept non str values as default json parser value Accept any type as default json parser value Nov 29, 2020
@sloria
Copy link
Copy Markdown
Owner

sloria commented Dec 3, 2020

Thanks! Could you please add a test?

@sloria sloria mentioned this pull request Jan 8, 2024
@sloria sloria closed this in #309 Jan 8, 2024
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.

3 participants