Searched refs:key_separator (Results 1 – 3 of 3) sorted by relevance
/third_party/python/Lib/json/ |
D | encoder.py | 103 key_separator = ': ' variable in JSONEncoder 154 self.item_separator, self.key_separator = separators 250 self.key_separator, self.item_separator, self.sort_keys, 255 self.key_separator, self.item_separator, self.sort_keys,
|
/third_party/python/Modules/ |
D | _json.c | 56 PyObject *key_separator; member 69 … {"key_separator", T_OBJECT, offsetof(PyEncoderObject, key_separator), READONLY, "key_separator"}, 1241 PyObject *markers, *defaultfn, *encoder, *indent, *key_separator; in encoder_new() local 1247 &key_separator, &item_separator, in encoder_new() 1266 s->key_separator = key_separator; in encoder_new() 1284 Py_INCREF(s->key_separator); in encoder_new() 1613 if (_PyAccu_Accumulate(acc, s->key_separator)) in encoder_listencode_dict() 1755 Py_VISIT(self->key_separator); in encoder_traverse() 1768 Py_CLEAR(self->key_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)``
|