/external/python/cpython2/Lib/json/ |
D | __init__.py | 112 skipkeys=False, 122 def dump(obj, fp, skipkeys=False, ensure_ascii=True, check_circular=True, argument 175 if (not skipkeys and ensure_ascii and 183 iterable = cls(skipkeys=skipkeys, ensure_ascii=ensure_ascii, 193 def dumps(obj, skipkeys=False, ensure_ascii=True, check_circular=True, argument 240 if (not skipkeys and ensure_ascii and 248 skipkeys=skipkeys, ensure_ascii=ensure_ascii,
|
D | encoder.py | 101 def __init__(self, skipkeys=False, ensure_ascii=True, argument 153 self.skipkeys = skipkeys 264 self.skipkeys, self.allow_nan) 269 self.skipkeys, _one_shot)
|
/external/python/cpython3/Lib/json/ |
D | __init__.py | 111 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,
|
D | encoder.py | 104 def __init__(self, *, skipkeys=False, ensure_ascii=True, argument 147 self.skipkeys = skipkeys 251 self.skipkeys, self.allow_nan) 256 self.skipkeys, _one_shot)
|
/external/fonttools/Lib/fontTools/misc/plistlib/ |
D | __init__.py | 364 if ctx.skipkeys: 445 skipkeys: bool = False, 481 skipkeys=skipkeys, unknown 580 skipkeys: bool = False, 614 skipkeys=skipkeys, 639 skipkeys: bool = False, 673 skipkeys=skipkeys,
|
/external/python/cpython3/Lib/ |
D | plistlib.py | 315 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)
|
/external/python/cpython2/Modules/ |
D | _json.c | 64 PyObject *skipkeys; member 77 {"skipkeys", T_OBJECT, offsetof(PyEncoderObject, skipkeys), READONLY, "skipkeys"}, 1818 PyObject *item_separator, *sort_keys, *skipkeys, *allow_nan_obj; in encoder_new() local 1823 &sort_keys, &skipkeys, &allow_nan_obj)) in encoder_new() 1848 s->skipkeys = skipkeys; in encoder_new() 1859 Py_INCREF(s->skipkeys); in encoder_new() 2071 int skipkeys; in encoder_listencode_dict() local 2118 skipkeys = PyObject_IsTrue(s->skipkeys); in encoder_listencode_dict() 2119 if (skipkeys < 0) in encoder_listencode_dict() 2144 else if (skipkeys) { in encoder_listencode_dict() [all …]
|
/external/python/cpython3/Doc/library/ |
D | plistlib.rst | 91 .. 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)
|
D | json.rst | 139 .. function:: dump(obj, fp, *, skipkeys=False, ensure_ascii=True, \ 148 If *skipkeys* is true (default: ``False``), then dict keys that are not 209 .. function:: dumps(obj, *, skipkeys=False, ensure_ascii=True, \ 391 .. class:: JSONEncoder(*, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, s… 425 If *skipkeys* is false (the default), then it is a :exc:`TypeError` to 427 :class:`float` or ``None``. If *skipkeys* is true, such items are simply
|
/external/python/cpython3/Lib/test/test_json/ |
D | test_dump.py | 20 s = self.json.dumps(v, skipkeys=True)
|
/external/python/cpython3/Modules/ |
D | _json.c | 59 char skipkeys; member 72 {"skipkeys", T_BOOL, offsetof(PyEncoderObject, skipkeys), READONLY, "skipkeys"}, 1240 int sort_keys, skipkeys, allow_nan; in encoder_new() local 1245 &sort_keys, &skipkeys, &allow_nan)) in encoder_new() 1266 s->skipkeys = skipkeys; in encoder_new() 1586 else if (s->skipkeys) { in encoder_listencode_dict()
|
/external/python/cpython2/Doc/library/ |
D | json.rst | 124 .. function:: dump(obj, fp, skipkeys=False, ensure_ascii=True, \ 133 If *skipkeys* is true (default: ``False``), then dict keys that are not 192 .. function:: dumps(obj, skipkeys=False, ensure_ascii=True, \ 374 .. class:: JSONEncoder([skipkeys[, ensure_ascii[, check_circular[, allow_nan[, sort_keys[, indent[,… 405 If *skipkeys* is false (the default), then it is a :exc:`TypeError` to 407 *skipkeys* is true, such items are simply skipped.
|
/external/fonttools/Tests/misc/ |
D | plistlib_test.py | 287 data = plistlib.dumps(pl, skipkeys=True, sort_keys=False) 293 plistlib.dump(pl, fp, skipkeys=True, sort_keys=False)
|
/external/python/cpython3/Lib/test/ |
D | test_plistlib.py | 648 pl, fmt=fmt, skipkeys=True, sort_keys=False) 655 pl, fp, fmt=fmt, skipkeys=True, sort_keys=False)
|
/external/toolchain-utils/ |
D | file_lock_machine.py | 197 self._file.write(json.dumps(self._description.__dict__, skipkeys=True))
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.9.0a1.rst | 4092 Add tests for json.dump(..., skipkeys=True). Patch by Dong-hee Na.
|