You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 8, 2018. It is now read-only.
indent=None (the default) means "dont' indent, make JSON the minimum size (i.e. no extra spaces)
indent=N, where N is an integer means "use N spaces to indent, with newlines, etc"
indent=0 means "no indenting, but still use newlines" (i.e. consistent with N)
In particular:
dumps needs at least:
indent
which is a number of spaces to indentsort_keys
- whether to sort dict keys in the output (for predictable serialization)default
- which is a function that gets called on anything that's not normally json-encodable, return value is used as the string valuenot sure loads() needs anything.
The text was updated successfully, but these errors were encountered: