Searched refs:skipkeys (Results 1 – 5 of 5) sorted by relevance
/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/cpython2/Modules/ |
D | _json.c | 64 PyObject *skipkeys; member 77 {"skipkeys", T_OBJECT, offsetof(PyEncoderObject, skipkeys), READONLY, "skipkeys"}, 1851 s->skipkeys = NULL; in encoder_new() 1864 PyObject *item_separator, *sort_keys, *skipkeys, *allow_nan_obj; in encoder_init() local 1872 &sort_keys, &skipkeys, &allow_nan_obj)) in encoder_init() 1893 s->skipkeys = skipkeys; in encoder_init() 1904 Py_INCREF(s->skipkeys); in encoder_init() 2113 int skipkeys; in encoder_listencode_dict() local 2160 skipkeys = PyObject_IsTrue(s->skipkeys); in encoder_listencode_dict() 2161 if (skipkeys < 0) in encoder_listencode_dict() [all …]
|
/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/toolchain-utils/ |
D | file_lock_machine.py | 182 self._file.write(json.dumps(self._description.__dict__, skipkeys=True))
|