Home
last modified time | relevance | path

Searched refs:skipkeys (Results 1 – 9 of 9) sorted by relevance

/third_party/python/Lib/json/
D__init__.py111 skipkeys=False,
120 def dump(obj, fp, *, skipkeys=False, ensure_ascii=True, check_circular=True, argument
165 if (not skipkeys and ensure_ascii and
173 iterable = cls(skipkeys=skipkeys, ensure_ascii=ensure_ascii,
183 def dumps(obj, *, skipkeys=False, ensure_ascii=True, check_circular=True, argument
227 if (not skipkeys and ensure_ascii and
235 skipkeys=skipkeys, ensure_ascii=ensure_ascii,
Dencoder.py104 def __init__(self, *, skipkeys=False, ensure_ascii=True, argument
147 self.skipkeys = skipkeys
251 self.skipkeys, self.allow_nan)
256 self.skipkeys, _one_shot)
/third_party/python/Lib/
Dplistlib.py315 sort_keys=True, skipkeys=False): argument
321 self._skipkeys = skipkeys
623 def __init__(self, fp, sort_keys, skipkeys): argument
626 self._skipkeys = skipkeys
886 def dump(value, fp, *, fmt=FMT_XML, sort_keys=True, skipkeys=False): argument
893 writer = _FORMATS[fmt]["writer"](fp, sort_keys=sort_keys, skipkeys=skipkeys)
897 def dumps(value, *, fmt=FMT_XML, skipkeys=False, sort_keys=True): argument
901 dump(value, fp, fmt=fmt, skipkeys=skipkeys, sort_keys=sort_keys)
/third_party/python/Doc/library/
Dplistlib.rst91 .. function:: dump(value, fp, *, fmt=FMT_XML, sort_keys=True, skipkeys=False)
107 When *skipkeys* is false (the default) the function raises :exc:`TypeError`
119 .. function:: dumps(value, *, fmt=FMT_XML, sort_keys=True, skipkeys=False)
Djson.rst144 .. function:: dump(obj, fp, *, skipkeys=False, ensure_ascii=True, \
153 If *skipkeys* is true (default: ``False``), then dict keys that are not
214 .. function:: dumps(obj, *, skipkeys=False, ensure_ascii=True, \
402 .. class:: JSONEncoder(*, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, s…
436 If *skipkeys* is false (the default), a :exc:`TypeError` will be raised when
438 or ``None``. If *skipkeys* is true, such items are simply skipped.
/third_party/python/Modules/
D_json.c59 char skipkeys; member
72 {"skipkeys", T_BOOL, offsetof(PyEncoderObject, skipkeys), READONLY, "skipkeys"},
1243 int sort_keys, skipkeys, allow_nan; in encoder_new() local
1248 &sort_keys, &skipkeys, &allow_nan)) in encoder_new()
1269 s->skipkeys = skipkeys; in encoder_new()
1588 else if (s->skipkeys) { in encoder_listencode_dict()
/third_party/python/Lib/test/test_json/
Dtest_dump.py20 s = self.json.dumps(v, skipkeys=True)
/third_party/python/Lib/test/
Dtest_plistlib.py649 pl, fmt=fmt, skipkeys=True, sort_keys=False)
656 pl, fp, fmt=fmt, skipkeys=True, sort_keys=False)
/third_party/python/Misc/NEWS.d/
D3.9.0a1.rst4092 Add tests for json.dump(..., skipkeys=True). Patch by Dong-hee Na.