Searched refs:item_separator (Results 1 – 3 of 3) sorted by relevance
/third_party/python/Lib/json/ |
D | encoder.py | 102 item_separator = ', ' variable in JSONEncoder 154 self.item_separator, self.key_separator = separators 156 self.item_separator = ',' 250 self.key_separator, self.item_separator, self.sort_keys, 255 self.key_separator, self.item_separator, self.sort_keys, 346 item_separator = _item_separator + newline_indent 350 item_separator = _item_separator 381 yield item_separator
|
/third_party/python/Modules/ |
D | _json.c | 57 PyObject *item_separator; member 70 …{"item_separator", T_OBJECT, offsetof(PyEncoderObject, item_separator), READONLY, "item_separator"… 1242 PyObject *item_separator; in encoder_new() local 1247 &key_separator, &item_separator, in encoder_new() 1267 s->item_separator = item_separator; in encoder_new() 1285 Py_INCREF(s->item_separator); in encoder_new() 1600 if (_PyAccu_Accumulate(acc, s->item_separator)) in encoder_listencode_dict() 1707 if (_PyAccu_Accumulate(acc, s->item_separator)) in encoder_listencode_list() 1756 Py_VISIT(self->item_separator); in encoder_traverse() 1769 Py_CLEAR(self->item_separator); in encoder_clear()
|
/third_party/python/Doc/library/ |
D | json.rst | 185 If specified, *separators* should be an ``(item_separator, key_separator)`` 469 If specified, *separators* should be an ``(item_separator, key_separator)``
|