Home
last modified time | relevance | path

Searched refs:skipkeys (Results 1 - 6 of 6) sorted by relevance

/third_party/python/Lib/json/
H A D__init__.py111 skipkeys=False, variable
120 def dump(obj, fp, *, skipkeys=False, ensure_ascii=True, check_circular=True,
126 If ``skipkeys`` is true then ``dict`` keys that are not basic types
165 if (not skipkeys and ensure_ascii and
173 iterable = cls(skipkeys=skipkeys, ensure_ascii=ensure_ascii,
183 def dumps(obj, *, skipkeys=False, ensure_ascii=True, check_circular=True,
188 If ``skipkeys`` is true then ``dict`` keys that are not basic types
227 if (not skipkeys and ensure_ascii and
235 skipkeys
[all...]
H A Dencoder.py105 def __init__(self, *, skipkeys=False, ensure_ascii=True,
110 If skipkeys is false, then it is a TypeError to attempt
112 skipkeys is True, such items are simply skipped.
148 self.skipkeys = skipkeys
252 self.skipkeys, self.allow_nan)
257 self.skipkeys, _one_shot)
/third_party/python/Lib/
H A Dplistlib.py324 sort_keys=True, skipkeys=False):
330 self._skipkeys = skipkeys
632 def __init__(self, fp, sort_keys, skipkeys):
635 self._skipkeys = skipkeys
895 def dump(value, fp, *, fmt=FMT_XML, sort_keys=True, skipkeys=False):
902 writer = _FORMATS[fmt]["writer"](fp, sort_keys=sort_keys, skipkeys=skipkeys)
906 def dumps(value, *, fmt=FMT_XML, skipkeys=False, sort_keys=True):
910 dump(value, fp, fmt=fmt, skipkeys=skipkeys, sort_key
[all...]
/third_party/python/Lib/test/test_json/
H A Dtest_dump.py20 s = self.json.dumps(v, skipkeys=True)
/third_party/python/Modules/
H A D_json.c61 char skipkeys; member
74 {"skipkeys", T_BOOL, offsetof(PyEncoderObject, skipkeys), READONLY, "skipkeys"},
1240 static char *kwlist[] = {"markers", "default", "encoder", "indent", "key_separator", "item_separator", "sort_keys", "skipkeys", "allow_nan", NULL}; in encoder_new()
1245 int sort_keys, skipkeys, allow_nan; in encoder_new() local
1250 &sort_keys, &skipkeys, &allow_nan)) in encoder_new()
1271 s->skipkeys = skipkeys; in encoder_new()
1590 else if (s->skipkeys) { in encoder_listencode_dict()
[all...]
/third_party/python/Lib/test/
H A Dtest_plistlib.py652 pl, fmt=fmt, skipkeys=True, sort_keys=False)
659 pl, fp, fmt=fmt, skipkeys=True, sort_keys=False)

Completed in 8 milliseconds