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

dump instead dumps #915

Merged
merged 1 commit into from
Aug 10, 2017
Merged

dump instead dumps #915

merged 1 commit into from
Aug 10, 2017

Conversation

vkosuri
Copy link
Collaborator

@vkosuri vkosuri commented Aug 9, 2017

closes: #912


json.dump()

Serialize obj as a JSON formatted stream to fp (a .write()-supporting file-like object

If ensure_ascii is False, some chunks written to fp may be unicode instances

json.dumps()

Serialize obj to a JSON formatted str

If ensure_ascii is False, the result may contain non-ASCII characters and the return value may be a unicode instance

@gunthercox gunthercox merged commit 959e470 into gunthercox:master Aug 10, 2017
@vkosuri vkosuri deleted the json_dump branch August 15, 2017 03:58
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.

Shouldn't it be dump (without s) ?
2 participants