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/utils/
Dflatbuffers.h286 const std::string& key_separator = ".") const {
288 AsFlatMap(key_separator, /*key_prefix=*/"", &result);
310 void AsFlatMap(const std::string& key_separator,
Dflatbuffers.cc406 const std::string& key_separator, const std::string& key_prefix, in AsFlatMap() argument
415 it.second->AsFlatMap(key_separator, in AsFlatMap()
416 key_prefix + it.first->name()->str() + key_separator, in AsFlatMap()
/external/python/cpython3/Modules/
D_json.c53 PyObject *key_separator; member
66 … {"key_separator", T_OBJECT, offsetof(PyEncoderObject, key_separator), READONLY, "key_separator"},
1296 PyObject *markers, *defaultfn, *encoder, *indent, *key_separator; in encoder_new() local
1302 &key_separator, &item_separator, in encoder_new()
1321 s->key_separator = key_separator; in encoder_new()
1339 Py_INCREF(s->key_separator); in encoder_new()
1673 if (_PyAccu_Accumulate(acc, s->key_separator)) in encoder_listencode_dict()
1816 Py_VISIT(s->key_separator); in encoder_traverse()
1832 Py_CLEAR(s->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.rst168 If specified, *separators* should be an ``(item_separator, key_separator)``
445 If specified, *separators* should be an ``(item_separator, key_separator)``