GoConqr has a new look! Let us know what you think.

Notes

Untitled

macanhhuydn English 1 page

Content of the notes (1)

Page 1

If skipkeys is True (default: False), then dict keys that are not of a basic type (str, unicode, int, long, float, bool, None) will be skipped instead of raising a TypeError.

If ensure_ascii is True (the default), all non-ASCII characters in the output are escaped with \uXXXX sequences, and the result is a str instance consisting of ASCII characters only. If ensure_ascii is False, some chunks written to fp may be unicode instances. This usually happens because the input contains unicode strings or the encoding parameter is used. Unless fp.write() explicitly understands unicode (as in codecs.getwriter()) this is likely to cause an error.

If check_circular is False (default: True), then the circular reference check for container types will be skipped and a circular reference will result in an OverflowError (or worse).

If allow_nan is False (default: True), then it will be a ValueError to serialize out of range float values (nan, inf, -inf) in strict compliance of the JSON specification, instead of using the JavaScript equivalents (NaN, Infinity, -Infinity).

New Page

Information

Description
Note on Untitled, created by macanhhuydn on 20/06/2014.
Created by
macanhhuydn · Jun 2014
Updated
Feb 19, 2016
Views
17
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?