Home
last modified time | relevance | path

Searched refs:ensure_ascii (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython2/Lib/json/
D__init__.py113 ensure_ascii=True,
122 def dump(obj, fp, skipkeys=False, ensure_ascii=True, check_circular=True, argument
175 if (not skipkeys and ensure_ascii and
183 iterable = cls(skipkeys=skipkeys, ensure_ascii=ensure_ascii,
193 def dumps(obj, skipkeys=False, ensure_ascii=True, check_circular=True, argument
240 if (not skipkeys and ensure_ascii and
248 skipkeys=skipkeys, ensure_ascii=ensure_ascii,
Dencoder.py101 def __init__(self, skipkeys=False, ensure_ascii=True, argument
154 self.ensure_ascii = ensure_ascii
200 if self.ensure_ascii:
226 if self.ensure_ascii:
/external/python/cpython3/Lib/json/
D__init__.py112 ensure_ascii=True,
120 def dump(obj, fp, *, skipkeys=False, ensure_ascii=True, check_circular=True, argument
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, argument
227 if (not skipkeys and ensure_ascii and
235 skipkeys=skipkeys, ensure_ascii=ensure_ascii,
Dencoder.py104 def __init__(self, *, skipkeys=False, ensure_ascii=True, argument
148 self.ensure_ascii = ensure_ascii
192 if self.ensure_ascii:
218 if self.ensure_ascii:
Dtool.py55 'ensure_ascii': options.ensure_ascii,
/external/python/cpython3/Lib/test/test_json/
Dtest_unicode.py22 j = self.dumps(u, ensure_ascii=False)
27 j = self.dumps([u], ensure_ascii=False)
33 self.assertEqual(self.dumps(u, ensure_ascii=False), '"\U0001d120"')
/external/python/cpython2/Lib/json/tests/
Dtest_unicode.py33 j = self.dumps(u, ensure_ascii=False)
38 j = self.dumps([u], ensure_ascii=False)
44 self.assertEqual(self.dumps(u, ensure_ascii=False), u'"\U0001d120"')
/external/python/cpython2/Doc/library/
Djson.rst124 .. function:: dump(obj, fp, skipkeys=False, ensure_ascii=True, \
138 If *ensure_ascii* is true (the default), all non-ASCII characters in the
141 *ensure_ascii* is false, some chunks written to *fp* may be
192 .. function:: dumps(obj, skipkeys=False, ensure_ascii=True, \
198 table <py-to-json-table>`. If *ensure_ascii* is false, the result may
374 .. class:: JSONEncoder([skipkeys[, ensure_ascii[, check_circular[, allow_nan[, sort_keys[, indent[,…
409 If *ensure_ascii* is true (the default), all non-ASCII characters in the
412 *ensure_ascii* is false, a result may be a :class:`unicode`
527 *ensure_ascii=True* by default, thus escaping the output so that the resulting
/external/python/cpython3/Doc/library/
Djson.rst139 .. function:: dump(obj, fp, *, skipkeys=False, ensure_ascii=True, \
156 If *ensure_ascii* is true (the default), the output is guaranteed to
157 have all incoming non-ASCII characters escaped. If *ensure_ascii* is
209 .. function:: dumps(obj, *, skipkeys=False, ensure_ascii=True, \
391 .. class:: JSONEncoder(*, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, s…
430 If *ensure_ascii* is true (the default), the output is guaranteed to
431 have all incoming non-ASCII characters escaped. If *ensure_ascii* is
571 *ensure_ascii=True* by default, thus escaping the output so that the resulting
574 Other than the *ensure_ascii* parameter, this module is defined strictly in
/external/tensorflow/tensorflow/lite/micro/examples/magic_wand/train/
Ddata_prepare.py146 dic = json.dumps(item, ensure_ascii=False)
/external/autotest/client/cros/power/
Dpower_dashboard.py153 ensure_ascii=False)
221 json_str = json.dumps(powerlog_dict, ensure_ascii=False)
/external/autotest/client/site_tests/power_MeetClient/
Dpower_MeetClient.py162 ensure_ascii=False)
/external/llvm-project/clang/test/AST/
Dgen_ast_dump_json_test.py192 append_str = json.dumps(out_ast, indent=1, ensure_ascii=False)
/external/libaom/libaom/test/
Dgviz_api.py47 ensure_ascii=False)
/external/python/cpython3/Misc/NEWS.d/
D3.9.0a2.rst373 Added ability to pass through ``ensure_ascii`` options to json.dumps in the
D3.5.0a1.rst1054 Make ``json.dumps(..., ensure_ascii=False)`` as fast as the default case of
1055 ``ensure_ascii=True``. Patch by Naoki Inada.
/external/python/cpython3/Doc/whatsnew/
D3.5.rst2145 ``ensure_ascii=False`` as fast as with ``ensure_ascii=True``.
/external/python/cpython2/Misc/NEWS.d/
D2.7.4rc1.rst3352 Document the effect of ensure_ascii to the return type of JSON decoding