Home
last modified time | relevance | path

Searched refs:key_separator (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Lib/json/
Dencoder.py103 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,
/external/python/cpython2/Lib/json/
Dencoder.py100 key_separator = ': ' variable in JSONEncoder
160 self.item_separator, self.key_separator = separators
263 self.key_separator, self.item_separator, self.sort_keys,
268 self.key_separator, self.item_separator, self.sort_keys,
/external/libtextclassifier/native/utils/flatbuffers/
Dmutable.h166 const std::string& key_separator = ".") const {
168 AsFlatMap(key_separator, /*key_prefix=*/"", &result);
192 void AsFlatMap(const std::string& key_separator,
Dmutable.cc488 const std::string& key_separator, const std::string& key_prefix, in AsFlatMap() argument
497 it.second->AsFlatMap(key_separator, in AsFlatMap()
498 key_prefix + it.first->name()->str() + key_separator, in AsFlatMap()
/external/python/cpython3/Modules/
D_json.c56 PyObject *key_separator; member
69 … {"key_separator", T_OBJECT, offsetof(PyEncoderObject, key_separator), READONLY, "key_separator"},
1238 PyObject *markers, *defaultfn, *encoder, *indent, *key_separator; in encoder_new() local
1244 &key_separator, &item_separator, in encoder_new()
1263 s->key_separator = key_separator; in encoder_new()
1281 Py_INCREF(s->key_separator); in encoder_new()
1611 if (_PyAccu_Accumulate(acc, s->key_separator)) in encoder_listencode_dict()
1754 Py_VISIT(self->key_separator); in encoder_traverse()
1767 Py_CLEAR(self->key_separator); in encoder_clear()
/external/python/cpython2/Modules/
D_json.c61 PyObject *key_separator; member
74 … {"key_separator", T_OBJECT, offsetof(PyEncoderObject, key_separator), READONLY, "key_separator"},
1817 PyObject *markers, *defaultfn, *encoder, *indent, *key_separator; in encoder_new() local
1822 &markers, &defaultfn, &encoder, &indent, &key_separator, &item_separator, in encoder_new()
1845 s->key_separator = key_separator; in encoder_new()
1856 Py_INCREF(s->key_separator); in encoder_new()
2172 if (PyList_Append(rval, s->key_separator)) in encoder_listencode_dict()
2317 Py_VISIT(s->key_separator); in encoder_traverse()
2335 Py_CLEAR(s->key_separator); in encoder_clear()
/external/python/cpython2/Doc/library/
Djson.rst168 If specified, *separators* should be an ``(item_separator, key_separator)``
442 If specified, *separators* should be an ``(item_separator, key_separator)``
/external/python/cpython3/Doc/library/
Djson.rst180 If specified, *separators* should be an ``(item_separator, key_separator)``
459 If specified, *separators* should be an ``(item_separator, key_separator)``